OSDN Git Service

perf probe: Cleanup and consolidate command parsers
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 5 May 2015 15:22:57 +0000 (00:22 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 May 2015 21:13:07 +0000 (18:13 -0300)
commitb1019d5e6e605190d008003a382407f23e19f807
tree24135e251e8fb2ff172e080ce3f7b1ec71c20261
parent3da166b7b5253aaa6b36410f5d4c4a996ee5915d
perf probe: Cleanup and consolidate command parsers

To simplify the 'perf probe' command code, consolidate some similar
functions and use command short-name for command classification, instead
of separate booleans.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150505152257.18790.41548.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-probe.c