perf symbols: Provide libtraceevent callback to resolve kernel symbols
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Jul 2015 19:14:29 +0000 (16:14 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 24 Jul 2015 01:01:37 +0000 (22:01 -0300)
commitc3168b0db93ad5ffeede4ecdf807dab64270f55d
tree31f6c71ea3ef9a361590fa2aebdb3d4d99415a74
parent33a2471cc9b7b1fb27ff2031dbaff701644b1a4d
perf symbols: Provide libtraceevent callback to resolve kernel symbols

That provides the function signature expected by libtraceevent's
pevent_set_function_resolver().

Acked-by: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-ie6hvlb6u15y4ulg9j1612zg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c
tools/perf/util/machine.h
tools/perf/util/trace-event.c
tools/perf/util/trace-event.h