diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2014-03-15 07:17:54 +0400 |
---|---|---|
committer | Jiri Olsa <jolsa@redhat.com> | 2014-04-16 19:16:05 +0400 |
commit | a83edb2dfc5989fbadc594109c933bae528a2809 (patch) | |
tree | 2c0882061596156ef39e17360c442aef4a64c3b6 /tools/perf/perf-completion.sh | |
parent | a2368c3199eba493d72c6d0e5b804f908a09706c (diff) | |
download | linux-a83edb2dfc5989fbadc594109c933bae528a2809.tar.xz |
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.sh | 2 |
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 |