summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf-completion.sh
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2014-03-14 23:17:54 -0400
committerJiri Olsa <jolsa@redhat.com>2014-04-16 17:16:05 +0200
commita83edb2dfc5989fbadc594109c933bae528a2809 (patch)
tree2c0882061596156ef39e17360c442aef4a64c3b6 /tools/perf/perf-completion.sh
parenta2368c3199eba493d72c6d0e5b804f908a09706c (diff)
downloadlinux-a83edb2dfc5989fbadc594109c933bae528a2809.tar.gz
linux-a83edb2dfc5989fbadc594109c933bae528a2809.tar.bz2
linux-a83edb2dfc5989fbadc594109c933bae528a2809.zip
perf sched: 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-5-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.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf-completion.sh b/tools/perf/perf-completion.sh
index ecedab6524e4..33569847fdcc 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|lock) ]]; then
+ elif [[ $prev == @(kvm|kmem|mem|lock|sched) ]]; then
subcmds=$($cmd $prev --list-cmds)
__perfcomp_colon "$subcmds" "$cur"
# List long option names