aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/perf.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-06-06 06:24:17 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-06 08:16:49 -0400
commit86847b62f0781ccc97a79936c9ed9dc818cff67b (patch)
treea55a8ea4a3e2c771322edc7aa01b1572c3a59c06 /Documentation/perf_counter/perf.c
parent8326f44da090d6d304d29b9fdc7fb3e20889e329 (diff)
perf_counter tools: Add 'perf list' to list available events
perf list: List all the available event types which can be used in -e (--event) options. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/perf.c')
-rw-r--r--Documentation/perf_counter/perf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c
index ec7edb7fbe29..9ac75657a180 100644
--- a/Documentation/perf_counter/perf.c
+++ b/Documentation/perf_counter/perf.c
@@ -258,6 +258,7 @@ static void handle_internal_command(int argc, const char **argv)
258 const char *cmd = argv[0]; 258 const char *cmd = argv[0];
259 static struct cmd_struct commands[] = { 259 static struct cmd_struct commands[] = {
260 { "help", cmd_help, 0 }, 260 { "help", cmd_help, 0 },
261 { "list", cmd_list, 0 },
261 { "record", cmd_record, 0 }, 262 { "record", cmd_record, 0 },
262 { "report", cmd_report, 0 }, 263 { "report", cmd_report, 0 },
263 { "stat", cmd_stat, 0 }, 264 { "stat", cmd_stat, 0 },