perf inject: Add --kallsyms parameter
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 22 Jul 2014 13:17:38 +0000 (16:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Jul 2014 15:08:34 +0000 (12:08 -0300)
commita7a2b8b4ce9e0bfd085c5797d535487594a71882
tree3f79bfce9c4922c2f0da8655fed8496933988983
parent9b0d2d875d57d85fdfb35ac27f89951520a8b473
perf inject: Add --kallsyms parameter

Let perf inject take --kallsyms parameter the same as perf script and
perf report do.

That is needed for decoding Instruction Trace data using a copy of
/proc/kcore for the kernel object because the kallsyms path is used to
locate that copy.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1406035081-14301-30-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-inject.txt
tools/perf/builtin-inject.c