perf probe: Use perf_probe_event.target instead of passing as an argument
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 8 May 2015 01:03:28 +0000 (10:03 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 May 2015 19:25:21 +0000 (16:25 -0300)
commit442255215cb9651668cb09350b0d51e111219f17
tree2834eb6cae4b49f738601769ab560bd7d386f62d
parent598adc5c9c1cfd3f154f6d9df72b38eda63e306e
perf probe: Use perf_probe_event.target instead of passing as an argument

Use perf_probe_event.target field for the target binary instead of
passing it as an argument.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.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/20150508010328.24812.67887.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h