perf probe: Add --cache option to cache the probe definitions
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 15 Jun 2016 03:28:40 +0000 (12:28 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 15 Jun 2016 17:34:42 +0000 (14:34 -0300)
commit2fd457a34525ea3bc609e377b46af759af8a7934
tree130c83a2f6937ffa81d00ec661d223cab7a37715
parentdd975497adcdd2526ae332d3938bd5d6e1c3731a
perf probe: Add --cache option to cache the probe definitions

Add --cache option to cache the probe definitions. This just saves the
result of the dwarf analysis to probe cache.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160615032840.31330.44412.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-probe.txt
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h