diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-20 09:58:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-20 11:36:49 -0400 |
commit | e33e0a43736307512422e41aee6e24d5a8c39181 (patch) | |
tree | b1ae3e3287d51dfc33a33724eb00712496b13900 /Documentation/perf_counter/perf.c | |
parent | 1d8c8b209e9351a7de1307d7b9b6df4222b8d742 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c index ff8658f2a2f1..e849dd66b5ef 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) | |||
248 | { | 248 | { |
249 | const char *cmd = argv[0]; | 249 | const char *cmd = argv[0]; |
250 | static struct cmd_struct commands[] = { | 250 | static struct cmd_struct commands[] = { |
251 | { "top", cmd_top, 0 }, | 251 | { "record", cmd_record, 0 }, |
252 | { "stat", cmd_stat, 0 }, | 252 | { "stat", cmd_stat, 0 }, |
253 | { "top", cmd_top, 0 }, | ||
253 | }; | 254 | }; |
254 | int i; | 255 | int i; |
255 | static const char ext[] = STRIP_EXTENSION; | 256 | static const char ext[] = STRIP_EXTENSION; |