[tracing] Add thread name to the pseudo stack of heap profiler
The thread name that allocated the memory is very useful to understand
the memory usage of the process. This CL adds it to the top of the
pseudo stack trace.
The name is set from ThreadIdNameManager since it leaks the thread name.
Since getting the name from AllocationContextTracker can cause rentrancy
into ThreadIdNameManager, the name is passed from ThreadIdNameManager.
BUG=594803
Review URL: https://codereview.chromium.org/1814083002
Cr-Commit-Position: refs/heads/master@{#384484}
CrOS-Libchrome-Original-Commit: b3fabc66203904dd110597b11ebb89b89697f1a9
4 files changed