aboutsummaryrefslogtreecommitdiff
path: root/Documentation/perf_counter/perf.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-20 15:58:01 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-20 17:36:49 +0200
commite33e0a43736307512422e41aee6e24d5a8c39181 (patch)
treeb1ae3e3287d51dfc33a33724eb00712496b13900 /Documentation/perf_counter/perf.c
parent1d8c8b209e9351a7de1307d7b9b6df4222b8d742 (diff)
perf_counter tools: add 'perf record' command
Move perf-record.c into the perf suite of commands. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/perf.c')
-rw-r--r--Documentation/perf_counter/perf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c
index ff8658f2a2f..e849dd66b5e 100644
--- a/Documentation/perf_counter/perf.c
+++ b/Documentation/perf_counter/perf.c
@@ -248,8 +248,9 @@ static void handle_internal_command(int argc, const char **argv)
{
const char *cmd = argv[0];
static struct cmd_struct commands[] = {
- { "top", cmd_top, 0 },
+ { "record", cmd_record, 0 },
{ "stat", cmd_stat, 0 },
+ { "top", cmd_top, 0 },
};
int i;
static const char ext[] = STRIP_EXTENSION;