[Sampling profiler] Introduce ThreadToken representation
The stack sampling implementations for Linux and Android platforms require the pthread_t type to obtain the stack base address, in addition to the PlatformThreadId. This change introduces a minimal ThreadToken abstraction that encapsulates the necessary thread state across platforms. TBR=gab@chromium.org Bug: 988579 Change-Id: Ie5d70709ddae362ca414dc5a635e456c8bd9f8ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1860151Reviewed-by:Mike Wittman <wittman@chromium.org> Reviewed-by:
ssid <ssid@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Reviewed-by:
Charlie Andrews <charliea@chromium.org> Commit-Queue: Mike Wittman <wittman@chromium.org> Cr-Commit-Position: refs/heads/master@{#709061}
Showing
This diff is collapsed.
Please register or sign in to comment