[Sampling profiler] Fix incorrect reuse of frames across samples
Frames from deduplicated samples were being left in the current sample state on the class, resulting in incorrect extra frames being added when the next sample was recorded. This change eliminates the current sample state to avoid this problem, and adds a test for this case. Bug: 905379 Change-Id: I5fe0ccd3e50675669d4c7124fb7f64ebb85fe807 Reviewed-on: https://chromium-review.googlesource.com/c/1336247Reviewed-by:Xi Cheng <chengx@chromium.org> Commit-Queue: Mike Wittman <wittman@chromium.org> Cr-Commit-Position: refs/heads/master@{#608160}
Showing
Please register or sign in to comment