builtin-stat.c (3ae9a34d747f9abf2bcc85dc0e77b951513ccdf2) | builtin-stat.c (f120f9d51be3a7db8991e7b78dc08bab5f8ab8f3) |
---|---|
1/* 2 * builtin-stat.c 3 * 4 * Builtin stat command: Give a precise performance counters summary 5 * overview about any workload, CPU or specific PID. 6 * 7 * Sample output: 8 --- 1018 unchanged lines hidden (view full) --- 1027{ 1028 big_num_opt = unset ? 0 : 1; 1029 return 0; 1030} 1031 1032static const struct option options[] = { 1033 OPT_CALLBACK('e', "event", &evsel_list, "event", 1034 "event selector. use 'perf list' to list available events", | 1/* 2 * builtin-stat.c 3 * 4 * Builtin stat command: Give a precise performance counters summary 5 * overview about any workload, CPU or specific PID. 6 * 7 * Sample output: 8 --- 1018 unchanged lines hidden (view full) --- 1027{ 1028 big_num_opt = unset ? 0 : 1; 1029 return 0; 1030} 1031 1032static const struct option options[] = { 1033 OPT_CALLBACK('e', "event", &evsel_list, "event", 1034 "event selector. use 'perf list' to list available events", |
1035 parse_events), | 1035 parse_events_option), |
1036 OPT_CALLBACK(0, "filter", &evsel_list, "filter", 1037 "event filter", parse_filter), 1038 OPT_BOOLEAN('i', "no-inherit", &no_inherit, 1039 "child tasks do not inherit counters"), 1040 OPT_INTEGER('p', "pid", &target_pid, 1041 "stat events on existing process id"), 1042 OPT_INTEGER('t', "tid", &target_tid, 1043 "stat events on existing thread id"), --- 200 unchanged lines hidden --- | 1036 OPT_CALLBACK(0, "filter", &evsel_list, "filter", 1037 "event filter", parse_filter), 1038 OPT_BOOLEAN('i', "no-inherit", &no_inherit, 1039 "child tasks do not inherit counters"), 1040 OPT_INTEGER('p', "pid", &target_pid, 1041 "stat events on existing process id"), 1042 OPT_INTEGER('t', "tid", &target_tid, 1043 "stat events on existing thread id"), --- 200 unchanged lines hidden --- |