DescriptionStack sampling profiler: re-enable stack collection for stacks terminated by leaf functions
Collect the 5% of leaf-terminated stacks that we're currently missing.
Avoids crashes we saw previously on unwinding frames in injected third
party modules with functions not adhering to the Microsoft x64 calling
conventions, by blacklisting leaf unwinding for these modules when we
first see a bad frame.
With this change there's still a very small possibility of crashing if a
stack happens to start with one of the bad third party functions. This
change will allow us to collect crash data on this case and inform a
decision about appropriate heuristics to deal with it.
BUG=516402
Committed: https://crrev.com/863f84165da958298516064732d4d5b62ad7eb59
Cr-Commit-Position: refs/heads/master@{#345012}
Patch Set 1 #Patch Set 2 : enable at startup, add CHECK #
Total comments: 7
Patch Set 3 : test unwinding #
Total comments: 8
Patch Set 4 : initialize with declared constant #Patch Set 5 : add comment #
Total comments: 4
Patch Set 6 : update comments #Patch Set 7 : rebase #Patch Set 8 : fix GN link #
Messages
Total messages: 33 (9 generated)
|