diff options
author | 2015-03-18 21:35:47 +0800 | |
---|---|---|
committer | 2015-03-19 13:49:20 -0300 | |
commit | 67afff485b2ce742374edb2e17d21e2bc664eb1f (patch) | |
tree | 86eede15647798601aeaca9e00559bd98c6c1c70 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf tools: Fix the bash completion for listing options of perf subcommand (diff) | |
download | linux-dev-67afff485b2ce742374edb2e17d21e2bc664eb1f.tar.xz linux-dev-67afff485b2ce742374edb2e17d21e2bc664eb1f.zip |
perf tools: Fix the bash completion for listing subsubcommands of perf subcommand
The bash completion does not support listing subsubcommands for 'perf
kvm|kmem|mem|lock|sched --<long option> <TAB>', where 'kvm|kmem|mem|
lock|sched' are all subcommands of perf.
Example:
Before this patch:
$ perf kvm --verbose <TAB>
$
As shown above, the subsubcommands of perf kvm does not come out.
After this patch:
$ perf kvm --verbose <TAB>
buildid-list diff record report stat
top
As shown above, the subsubcommands of perf kvm can come out now.
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1426685758-25488-3-git-send-email-yunlong.song@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions