diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-20 09:37:32 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-20 11:36:48 -0400 |
commit | ddcacfa0febff6454dba6cea1931f3020a9f6c24 (patch) | |
tree | 0921fe8644ef904ad154640a584830d552a02bee /Documentation/perf_counter/perf.c | |
parent | 6f06ccbc86f8a02aa32271263249657ce484eb25 (diff) |
perf_counter tools: separate kerneltop into 'perf top' and 'perf stat'
Lets use the Git framework of built-in 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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c index 63f8a892c0df..ff8658f2a2f1 100644 --- a/Documentation/perf_counter/perf.c +++ b/Documentation/perf_counter/perf.c | |||
@@ -249,6 +249,7 @@ static void handle_internal_command(int argc, const char **argv) | |||
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 | { "top", cmd_top, 0 }, |
252 | { "stat", cmd_stat, 0 }, | ||
252 | }; | 253 | }; |
253 | int i; | 254 | int i; |
254 | static const char ext[] = STRIP_EXTENSION; | 255 | static const char ext[] = STRIP_EXTENSION; |