alistair23-linux/tools/perf
Namhyung Kim e8232f1ad4 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 <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Arun Sharma <asharma@fb.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rodrigo Campos <rodrigo@sdfg.com.ar>
Link: http://lkml.kernel.org/r/1407996100-6359-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2014-08-15 10:50:07 -03:00
..
arch perf tools: Add arm64 triplets 2014-08-15 10:40:11 -03:00
bench perf tools: Enable close-on-exec flag on perf file descriptor 2014-07-18 09:09:34 +02:00
config perf tools: Default to python version 2 2014-08-12 12:03:08 -03:00
Documentation perf top: Add -w option for setting column width 2014-08-12 12:03:06 -03:00
python
scripts perf script: Add callchain to generic and tracepoint events 2014-07-16 17:57:33 -03:00
tests perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
ui perf top: Handle 'z' key for toggle zeroing samples in TUI 2014-08-13 17:29:37 -03:00
util perf report: Relax -g option parsing not to limit the option order 2014-08-15 10:50:07 -03:00
.gitignore perf tools: Ignore 'perf timechart' output file 2013-10-11 12:17:37 -03:00
builtin-annotate.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-bench.c perf bench: Add --repeat option 2014-06-19 16:13:15 -03:00
builtin-buildid-cache.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-buildid-list.c perf session: Separating data file properties from session 2013-10-21 17:33:25 -03:00
builtin-diff.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-evlist.c perf tools: Move pr_* debug macros into debug object 2014-07-17 12:58:39 -03:00
builtin-help.c perf tools: Move pr_* debug macros into debug object 2014-07-17 12:58:39 -03:00
builtin-inject.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-kmem.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-kvm.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-list.c perf list: Add usage 2013-11-05 14:26:41 -03:00
builtin-lock.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-mem.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-probe.c perf probe: Show error code and description in verbose mode 2014-06-09 14:34:09 -03:00
builtin-record.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-report.c perf report: Set proper sort__mode for the branch option 2014-08-13 17:13:48 -03:00
builtin-sched.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-script.c perf script: Allow callchains if any event samples them 2014-08-13 19:21:53 -03:00
builtin-stat.c perf tools: Fix wrong condition for allocation failure 2014-06-27 11:14:54 +02:00
builtin-timechart.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin-top.c perf top: Fix -z option behavior 2014-08-13 17:28:07 -03:00
builtin-trace.c perf tools: Check recorded kernel version when finding vmlinux 2014-08-13 16:42:21 -03:00
builtin.h
command-list.txt
CREDITS
design.txt perf tools: Update some code references in design.txt 2014-03-18 18:17:06 -03:00
Makefile perf tools: Add 'build-test' make target 2014-01-16 16:26:26 -03:00
Makefile.perf perf tools: Create ordered-events object 2014-08-12 12:02:58 -03:00
MANIFEST perf kvm: Add stat support on s390 2014-07-16 17:57:33 -03:00
perf-archive.sh
perf-completion.sh perf sched: Introduce --list-cmds for use by scripts 2014-04-16 17:16:05 +02:00
perf-sys.h perf tools: Allow to use cpuinfo on s390 2014-07-07 16:55:24 -03:00
perf.c perf tools: Fix perf usage string leftover 2014-07-28 15:58:13 +02:00
perf.h perf tools: Move ACCESS_ONCE from perf.h header 2014-05-05 17:49:07 +02:00