aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/python/twatch.py
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2017-12-06 22:45:15 +0000
committerIngo Molnar <[email protected]>2018-02-06 10:29:26 +0000
commite12f03d7031a977356e3d7b75a68c2185ff8d155 (patch)
tree737fee559c7bd0167b2f65567ec005ed2349dc4a /tools/perf/python/twatch.py
parentperf/headers: Sync new perf_event.h with the tools/include/uapi version (diff)
downloadkernel-e12f03d7031a977356e3d7b75a68c2185ff8d155.tar.gz
kernel-e12f03d7031a977356e3d7b75a68c2185ff8d155.zip
perf/core: Implement the 'perf_kprobe' PMU
A new PMU type, perf_kprobe is added. Based on attr from perf_event_open(), perf_kprobe creates a kprobe (or kretprobe) for the perf_event. This kprobe is private to this perf_event, and thus not added to global lists, and not available in tracefs. Two functions, create_local_trace_kprobe() and destroy_local_trace_kprobe() are added to created and destroy these local trace_kprobe. Signed-off-by: Song Liu <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Yonghong Song <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/python/twatch.py')
0 files changed, 0 insertions, 0 deletions