diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-24 10:46:54 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-24 10:52:03 -0300 |
commit | 0f7d2f1b65e3415854bbe842705f698a3350d7da (patch) | |
tree | c8fc00abf4c00460d4c4c29259e1555c8d5de352 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 14907e73830a256ad726a35a93789a9bc9595490 (diff) |
perf kmem: Use perf_evsel__intval and perf_session__set_tracepoints_handlers
Following the model of 'perf sched':
. raw_field_value searches first on the common fields, that are unused
in this tool
. Using perf_session__set_tracepoints_handlers will save all those
strcmp to find the right handler at sample processing time, do it just
once and get the handler from evsel->handler.func.
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions