diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-11-16 12:45:39 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-11-16 13:37:44 -0500 |
commit | 133dc4c39c57eeef2577ca5b4ed24765b7a78ce2 (patch) | |
tree | 88309b8336fccfd8fea52a5c1e107d6ca2060a39 /tools/perf/builtin-sched.c | |
parent | e53beacd23d9cb47590da6a7a7f6d417b941a994 (diff) |
perf: Rename 'perf trace' to 'perf script'
Free the perf trace name space and rename the trace to 'script' which is a
better match for the scripting engine.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r-- | tools/perf/builtin-sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 55f3b5dcc731..26523c939791 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
@@ -1888,10 +1888,10 @@ int cmd_sched(int argc, const char **argv, const char *prefix __used) | |||
1888 | usage_with_options(sched_usage, sched_options); | 1888 | usage_with_options(sched_usage, sched_options); |
1889 | 1889 | ||
1890 | /* | 1890 | /* |
1891 | * Aliased to 'perf trace' for now: | 1891 | * Aliased to 'perf script' for now: |
1892 | */ | 1892 | */ |
1893 | if (!strcmp(argv[0], "trace")) | 1893 | if (!strcmp(argv[0], "script")) |
1894 | return cmd_trace(argc, argv, prefix); | 1894 | return cmd_script(argc, argv, prefix); |
1895 | 1895 | ||
1896 | symbol__init(); | 1896 | symbol__init(); |
1897 | if (!strncmp(argv[0], "rec", 3)) { | 1897 | if (!strncmp(argv[0], "rec", 3)) { |