Add trace thread mask.

Makes seeing only thread 1 easier.
This commit is contained in:
Ben Vanik
2013-10-06 14:35:03 -07:00
parent 1fecb95512
commit 74692232c9
3 changed files with 31 additions and 4 deletions

View File

@@ -21,6 +21,8 @@ DEFINE_bool(trace_user_calls, false,
"Trace all user function calls.");
DEFINE_bool(trace_kernel_calls, false,
"Trace all kernel function calls.");
DEFINE_uint64(trace_thread_mask, -1,
"Trace threads with IDs in the mask, or -1 for all.");
// Debugging: