diff options
author | Namhyung Kim <[email protected]> | 2014-08-14 15:01:38 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-15 10:50:07 -0300 |
commit | e8232f1ad4682c34e7e774c212ccd0c15bb5aa26 (patch) | |
tree | c4518339e6e0398e9d07fc4e585448db07092653 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 885b5930d6632fc7df55445d9021b87d8bb17a9b (diff) |
perf report: Relax -g option parsing not to limit the option order
Current perf report -g/--call-graph option parser requires for option
argument having following order:
type,min_percent[,print_limit],order,key
But sometimes it's annoying to type all even if one just wants to change
the "order" or "key" setting.
This patch fixes it to remove the ordering restriction so that one can
use just "-g caller", for instance. The only remaining restriction is
that the "print_limit" always comes after the "min_percent".
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Arun Sharma <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rodrigo Campos <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions