diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-11-16 18:45:39 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-11-16 19:37:44 +0100 |
commit | 133dc4c39c57eeef2577ca5b4ed24765b7a78ce2 (patch) | |
tree | 88309b8336fccfd8fea52a5c1e107d6ca2060a39 /tools/perf/builtin-lock.c | |
parent | e53beacd23d9cb47590da6a7a7f6d417b941a994 (diff) | |
download | linux-3.10-133dc4c39c57eeef2577ca5b4ed24765b7a78ce2.tar.gz linux-3.10-133dc4c39c57eeef2577ca5b4ed24765b7a78ce2.tar.bz2 linux-3.10-133dc4c39c57eeef2577ca5b4ed24765b7a78ce2.zip |
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-lock.c')
-rw-r--r-- | tools/perf/builtin-lock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 821c1586a22..8452a2ae219 100644 --- a/tools/perf/builtin-lock.c +++ b/tools/perf/builtin-lock.c @@ -982,9 +982,9 @@ int cmd_lock(int argc, const char **argv, const char *prefix __used) usage_with_options(report_usage, report_options); } __cmd_report(); - } else if (!strcmp(argv[0], "trace")) { - /* Aliased to 'perf trace' */ - return cmd_trace(argc, argv, prefix); + } else if (!strcmp(argv[0], "script")) { + /* Aliased to 'perf script' */ + return cmd_script(argc, argv, prefix); } else if (!strcmp(argv[0], "info")) { if (argc) { argc = parse_options(argc, argv, |