diff options
author | Namhyung Kim <[email protected]> | 2016-10-24 12:00:03 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-25 10:24:48 -0300 |
commit | 77f02f44460ab1480af2ae6145a1a85b9fe0b8ac (patch) | |
tree | 89a0dfd42c1afd1475d5ea013e5e8cd99d2e4bc6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 369a2478973a416a2c42a37a8cf7031872a6d926 (diff) |
perf sched: Make common options cascading
The -i and -v options can be used in subcommands so enable cascading the
sched_options. This fixes the following inconvenience in 'perf sched':
$ perf sched -i perf.data.sched map
... (it works well) ...
$ perf sched map -i perf.data.sched
Error: unknown switch `i'
Usage: perf sched map [<options>]
--color-cpus <cpus>
highlight given CPUs in map
--color-pids <pids>
highlight given pids in map
--compact map output in compact mode
--cpus <cpus> display given CPUs in map
With this patch, the second command line works with the perf.data.sched
data file.
Signed-off-by: Namhyung Kim <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions