diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2014-03-15 07:17:53 +0400 |
---|---|---|
committer | Jiri Olsa <jolsa@redhat.com> | 2014-04-16 19:16:04 +0400 |
commit | a2368c3199eba493d72c6d0e5b804f908a09706c (patch) | |
tree | 0a4e8f6de0cdbcc1f3628b852e3738fc199dc91d /tools/perf/perf-completion.sh | |
parent | 8d2a2a1d885d36e978c4619a3db8791f9768dd6a (diff) | |
download | linux-a2368c3199eba493d72c6d0e5b804f908a09706c.tar.xz |
perf lock: Introduce --list-cmds for use by scripts
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1394853474-31019-4-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Diffstat (limited to 'tools/perf/perf-completion.sh')
-rw-r--r-- | tools/perf/perf-completion.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf-completion.sh b/tools/perf/perf-completion.sh index f44c04b1015d..ecedab6524e4 100644 --- a/tools/perf/perf-completion.sh +++ b/tools/perf/perf-completion.sh @@ -122,7 +122,7 @@ __perf_main () evts=$($cmd list --raw-dump) __perfcomp_colon "$evts" "$cur" # List subcommands for perf commands - elif [[ $prev == @(kvm|kmem|mem) ]]; then + elif [[ $prev == @(kvm|kmem|mem|lock) ]]; then subcmds=$($cmd $prev --list-cmds) __perfcomp_colon "$subcmds" "$cur" # List long option names |