summaryrefslogtreecommitdiff
path: root/runtime/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/trace.h')
-rw-r--r--runtime/trace.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/trace.h b/runtime/trace.h
index 5f6f3c2cd8..c3f903c58a 100644
--- a/runtime/trace.h
+++ b/runtime/trace.h
@@ -395,9 +395,8 @@ class Trace final : public instrumentation::InstrumentationListener {
// Did we overflow the buffer recording traces?
bool overflow_;
- // Map of thread ids and names. We record the information when the threads are
- // exiting and when the tracing has finished.
- SafeMap<pid_t, std::string> threads_list_;
+ // Map of thread ids and names that have already exited.
+ SafeMap<pid_t, std::string> exited_threads_;
// Sampling profiler sampling interval.
int interval_us_;