perf probe: Add --quiet option to suppress output result message
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Mon, 27 Oct 2014 20:31:31 +0000 (16:31 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Oct 2014 12:32:49 +0000 (10:32 -0200)
commit5e17b28f1e246b98e08cb463f7d72cff6415fc53
tree56ab831fd090f3f3a484b796ae38a0044fa73a43
parent2987e32f75dcb40bce0f3ab1d5d48cc1c580fd8b
perf probe: Add --quiet option to suppress output result message

Add --quiet(-q) option to suppress output result message for --add, and
--del options (Note that --lines/funcs/vars are not affected). This
option is useful if you run the perf probe inside your scripts.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20141027203131.21219.35170.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c