diff options
author | Jiri Olsa <[email protected]> | 2016-07-10 13:08:00 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-12 16:19:16 -0300 |
commit | bae57e3825a3dded15f61cd20c6757d60ad6c712 (patch) | |
tree | 398fd3897e531743e28d0f90a22203066864b2bd /tools/perf/python/tracepoint.py | |
parent | 377f698db12150a1cf79987dca1d3990fa14a1f8 (diff) |
perf python: Add support to resolve tracepoint fields
Adding tp_getattro callback for sample event. It resolves tracepoint
fields in runtime.
It's now possible to access tracepoint fields in normal fashion like
hardcoded ones (see the example in the next patch).
Reported-and-Tested-by: Jiri Pirko <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/python/tracepoint.py')
0 files changed, 0 insertions, 0 deletions