Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 1503273003: Stack sampling profiler: fix leaf function unwinding and remove blacklisting (Closed)

Created:
5 years ago by Mike Wittman
Modified:
5 years ago
Reviewers:
brucedawson
CC:
chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stack sampling profiler: fix leaf function unwinding and remove blacklisting The leaf function unwinding has a bug where the new instruction pointer is set to the stack pointer rather than the value at the stack pointer. This causes the module check on the next iteration to fail, resulting in stacks truncated at depth 1. This change fixes that bug. The change also removes the associated leaf function blacklisting implementation. This implementation is no longer needed as the third party code that precipitated it is now detected by the valid module check. BUG=555770 Committed: https://crrev.com/eb8d42df5fbfb95ad409dfd2353d04674624c2f5 Cr-Commit-Position: refs/heads/master@{#363725}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -298 lines) Patch
M base/profiler/win32_stack_frame_unwinder.cc View 5 chunks +14 lines, -122 lines 0 comments Download
M base/profiler/win32_stack_frame_unwinder_unittest.cc View 7 chunks +15 lines, -176 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Mike Wittman
Hi Bruce, please take a look. I'm about 80% confident this will work since the ...
5 years ago (2015-12-08 00:56:17 UTC) #2
brucedawson
I wonder whether this would be better as two changes rather than one, but no ...
5 years ago (2015-12-08 01:25:32 UTC) #3
Mike Wittman
On 2015/12/08 01:25:32, brucedawson wrote: > I wonder whether this would be better as two ...
5 years ago (2015-12-08 02:28:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503273003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503273003/1
5 years ago (2015-12-08 02:51:42 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-08 03:55:32 UTC) #7
commit-bot: I haz the power
5 years ago (2015-12-08 03:56:05 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eb8d42df5fbfb95ad409dfd2353d04674624c2f5
Cr-Commit-Position: refs/heads/master@{#363725}

Powered by Google App Engine
This is Rietveld 408576698