builtin-trace.c (fa0e4ffe06f0823abdf6c401c340c08ba8977fad) | builtin-trace.c (d303e85a5c19eb8d913951d1aa81556fc20b20af) |
---|---|
1#include <traceevent/event-parse.h> 2#include "builtin.h" 3#include "util/color.h" 4#include "util/debug.h" 5#include "util/evlist.h" 6#include "util/machine.h" 7#include "util/session.h" 8#include "util/thread.h" --- 2646 unchanged lines hidden (view full) --- 2655 const char *ev_qualifier_str = NULL; 2656 const struct option trace_options[] = { 2657 OPT_CALLBACK(0, "event", &trace.evlist, "event", 2658 "event selector. use 'perf list' to list available events", 2659 parse_events_option), 2660 OPT_BOOLEAN(0, "comm", &trace.show_comm, 2661 "show the thread COMM next to its id"), 2662 OPT_BOOLEAN(0, "tool_stats", &trace.show_tool_stats, "show tool stats"), | 1#include <traceevent/event-parse.h> 2#include "builtin.h" 3#include "util/color.h" 4#include "util/debug.h" 5#include "util/evlist.h" 6#include "util/machine.h" 7#include "util/session.h" 8#include "util/thread.h" --- 2646 unchanged lines hidden (view full) --- 2655 const char *ev_qualifier_str = NULL; 2656 const struct option trace_options[] = { 2657 OPT_CALLBACK(0, "event", &trace.evlist, "event", 2658 "event selector. use 'perf list' to list available events", 2659 parse_events_option), 2660 OPT_BOOLEAN(0, "comm", &trace.show_comm, 2661 "show the thread COMM next to its id"), 2662 OPT_BOOLEAN(0, "tool_stats", &trace.show_tool_stats, "show tool stats"), |
2663 OPT_STRING('e', "expr", &ev_qualifier_str, "expr", 2664 "list of events to trace"), | 2663 OPT_STRING('e', "expr", &ev_qualifier_str, "expr", "list of syscalls to trace"), |
2665 OPT_STRING('o', "output", &output_name, "file", "output file name"), 2666 OPT_STRING('i', "input", &input_name, "file", "Analyze events in file"), 2667 OPT_STRING('p', "pid", &trace.opts.target.pid, "pid", 2668 "trace events on existing process id"), 2669 OPT_STRING('t', "tid", &trace.opts.target.tid, "tid", 2670 "trace events on existing thread id"), 2671 OPT_CALLBACK(0, "filter-pids", &trace, "CSV list of pids", 2672 "pids to filter (by the kernel)", trace__set_filter_pids), --- 119 unchanged lines hidden --- | 2664 OPT_STRING('o', "output", &output_name, "file", "output file name"), 2665 OPT_STRING('i', "input", &input_name, "file", "Analyze events in file"), 2666 OPT_STRING('p', "pid", &trace.opts.target.pid, "pid", 2667 "trace events on existing process id"), 2668 OPT_STRING('t', "tid", &trace.opts.target.tid, "tid", 2669 "trace events on existing thread id"), 2670 OPT_CALLBACK(0, "filter-pids", &trace, "CSV list of pids", 2671 "pids to filter (by the kernel)", trace__set_filter_pids), --- 119 unchanged lines hidden --- |