summaryrefslogtreecommitdiff
path: root/simpleperf/thread_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/thread_tree.h')
-rw-r--r--simpleperf/thread_tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simpleperf/thread_tree.h b/simpleperf/thread_tree.h
index 8e96ee4c..ea723766 100644
--- a/simpleperf/thread_tree.h
+++ b/simpleperf/thread_tree.h
@@ -100,6 +100,7 @@ class ThreadTree {
}
virtual ~ThreadTree() {}
+ void DisableThreadExitRecords() { disable_thread_exit_records_ = true; }
void SetThreadName(int pid, int tid, const std::string& comm);
bool ForkThread(int pid, int tid, int ppid, int ptid);
virtual ThreadEntry* FindThread(int tid) const;
@@ -167,6 +168,7 @@ class ThreadTree {
bool show_ip_for_unknown_symbol_;
bool show_mark_for_unknown_symbol_;
Symbol unknown_symbol_;
+ bool disable_thread_exit_records_ = false;
};
} // namespace simpleperf