Home
last modified time | relevance | path

Searched hist:"6 fdd9cb700dcd84193a259bbf8f6c918c243da15" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/
H A Dperf-completion.shdiff 6fdd9cb700dcd84193a259bbf8f6c918c243da15 Wed Mar 18 08:35:57 CDT 2015 Yunlong Song <yunlong.song@huawei.com> perf tools: Add the bash completion for listing subsubcommands of perf trace

The bash completion does not support listing subsubcommands for 'perf
trace <TAB>', so fix it.

Example:

Before this patch:

$ perf trace <TAB>
$

As shown above, the subsubcommands of perf trace does not come out.

After this patch:

$ perf trace <TAB>
record

As shown above, the subsubcommands of perf trace can come out now.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1426685758-25488-13-git-send-email-yunlong.song@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
H A Dbuiltin-trace.cdiff 6fdd9cb700dcd84193a259bbf8f6c918c243da15 Wed Mar 18 08:35:57 CDT 2015 Yunlong Song <yunlong.song@huawei.com> perf tools: Add the bash completion for listing subsubcommands of perf trace

The bash completion does not support listing subsubcommands for 'perf
trace <TAB>', so fix it.

Example:

Before this patch:

$ perf trace <TAB>
$

As shown above, the subsubcommands of perf trace does not come out.

After this patch:

$ perf trace <TAB>
record

As shown above, the subsubcommands of perf trace can come out now.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1426685758-25488-13-git-send-email-yunlong.song@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>