builtin-top.c (36b2e922b5acd291051fab25bc7535274ce49532) | builtin-top.c (f120f9d51be3a7db8991e7b78dc08bab5f8ab8f3) |
---|---|
1/* 2 * builtin-top.c 3 * 4 * Builtin top command: Display a continuously updated profile of 5 * any workload, CPU or specific PID. 6 * 7 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com> 8 * --- 976 unchanged lines hidden (view full) --- 985static const char * const top_usage[] = { 986 "perf top [<options>]", 987 NULL 988}; 989 990static const struct option options[] = { 991 OPT_CALLBACK('e', "event", &top.evlist, "event", 992 "event selector. use 'perf list' to list available events", | 1/* 2 * builtin-top.c 3 * 4 * Builtin top command: Display a continuously updated profile of 5 * any workload, CPU or specific PID. 6 * 7 * Copyright (C) 2008, Red Hat Inc, Ingo Molnar <mingo@redhat.com> 8 * --- 976 unchanged lines hidden (view full) --- 985static const char * const top_usage[] = { 986 "perf top [<options>]", 987 NULL 988}; 989 990static const struct option options[] = { 991 OPT_CALLBACK('e', "event", &top.evlist, "event", 992 "event selector. use 'perf list' to list available events", |
993 parse_events), | 993 parse_events_option), |
994 OPT_INTEGER('c', "count", &default_interval, 995 "event period to sample"), 996 OPT_INTEGER('p', "pid", &top.target_pid, 997 "profile events on existing process id"), 998 OPT_INTEGER('t', "tid", &top.target_tid, 999 "profile events on existing thread id"), 1000 OPT_BOOLEAN('a', "all-cpus", &system_wide, 1001 "system-wide collection from all CPUs"), --- 138 unchanged lines hidden --- | 994 OPT_INTEGER('c', "count", &default_interval, 995 "event period to sample"), 996 OPT_INTEGER('p', "pid", &top.target_pid, 997 "profile events on existing process id"), 998 OPT_INTEGER('t', "tid", &top.target_tid, 999 "profile events on existing thread id"), 1000 OPT_BOOLEAN('a', "all-cpus", &system_wide, 1001 "system-wide collection from all CPUs"), --- 138 unchanged lines hidden --- |