aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf.c')
-rw-r--r--tools/perf/perf.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c
index 89b82acac7d9..cf64049bc9bd 100644
--- a/tools/perf/perf.c
+++ b/tools/perf/perf.c
@@ -285,20 +285,21 @@ static void handle_internal_command(int argc, const char **argv)
285{ 285{
286 const char *cmd = argv[0]; 286 const char *cmd = argv[0];
287 static struct cmd_struct commands[] = { 287 static struct cmd_struct commands[] = {
288 { "help", cmd_help, 0 },
289 { "list", cmd_list, 0 },
290 { "buildid-list", cmd_buildid_list, 0 }, 288 { "buildid-list", cmd_buildid_list, 0 },
291 { "record", cmd_record, 0 }, 289 { "help", cmd_help, 0 },
292 { "report", cmd_report, 0 }, 290 { "list", cmd_list, 0 },
293 { "bench", cmd_bench, 0 }, 291 { "record", cmd_record, 0 },
294 { "stat", cmd_stat, 0 }, 292 { "report", cmd_report, 0 },
295 { "timechart", cmd_timechart, 0 }, 293 { "bench", cmd_bench, 0 },
296 { "top", cmd_top, 0 }, 294 { "stat", cmd_stat, 0 },
297 { "annotate", cmd_annotate, 0 }, 295 { "timechart", cmd_timechart, 0 },
298 { "version", cmd_version, 0 }, 296 { "top", cmd_top, 0 },
299 { "trace", cmd_trace, 0 }, 297 { "annotate", cmd_annotate, 0 },
300 { "sched", cmd_sched, 0 }, 298 { "version", cmd_version, 0 },
301 { "probe", cmd_probe, 0 }, 299 { "trace", cmd_trace, 0 },
300 { "sched", cmd_sched, 0 },
301 { "probe", cmd_probe, 0 },
302 { "kmem", cmd_kmem, 0 },
302 }; 303 };
303 unsigned int i; 304 unsigned int i;
304 static const char ext[] = STRIP_EXTENSION; 305 static const char ext[] = STRIP_EXTENSION;