|
@@ -693,17 +693,17 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
|
OPT_STRING('o', "output", &output_name, "file", "output file name"),
|
|
|
OPT_STRING('p', "pid", &trace.opts.target.pid, "pid",
|
|
|
"trace events on existing process id"),
|
|
|
- OPT_STRING(0, "tid", &trace.opts.target.tid, "tid",
|
|
|
+ OPT_STRING('t', "tid", &trace.opts.target.tid, "tid",
|
|
|
"trace events on existing thread id"),
|
|
|
- OPT_BOOLEAN(0, "all-cpus", &trace.opts.target.system_wide,
|
|
|
+ OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide,
|
|
|
"system-wide collection from all CPUs"),
|
|
|
- OPT_STRING(0, "cpu", &trace.opts.target.cpu_list, "cpu",
|
|
|
+ OPT_STRING('C', "cpu", &trace.opts.target.cpu_list, "cpu",
|
|
|
"list of cpus to monitor"),
|
|
|
- OPT_BOOLEAN(0, "no-inherit", &trace.opts.no_inherit,
|
|
|
+ OPT_BOOLEAN('i', "no-inherit", &trace.opts.no_inherit,
|
|
|
"child tasks do not inherit counters"),
|
|
|
- OPT_UINTEGER(0, "mmap-pages", &trace.opts.mmap_pages,
|
|
|
+ OPT_UINTEGER('m', "mmap-pages", &trace.opts.mmap_pages,
|
|
|
"number of mmap data pages"),
|
|
|
- OPT_STRING(0, "uid", &trace.opts.target.uid_str, "user",
|
|
|
+ OPT_STRING('u', "uid", &trace.opts.target.uid_str, "user",
|
|
|
"user to profile"),
|
|
|
OPT_CALLBACK(0, "duration", &trace, "float",
|
|
|
"show only events with duration > N.M ms",
|