aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-lock.c')
-rw-r--r--tools/perf/builtin-lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
index 821c1586a22b..8452a2ae2191 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)
982 usage_with_options(report_usage, report_options); 982 usage_with_options(report_usage, report_options);
983 } 983 }
984 __cmd_report(); 984 __cmd_report();
985 } else if (!strcmp(argv[0], "trace")) { 985 } else if (!strcmp(argv[0], "script")) {
986 /* Aliased to 'perf trace' */ 986 /* Aliased to 'perf script' */
987 return cmd_trace(argc, argv, prefix); 987 return cmd_script(argc, argv, prefix);
988 } else if (!strcmp(argv[0], "info")) { 988 } else if (!strcmp(argv[0], "info")) {
989 if (argc) { 989 if (argc) {
990 argc = parse_options(argc, argv, 990 argc = parse_options(argc, argv,