diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-08 02:22:34 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-08 02:22:35 +0100 |
commit | 12ef9bda06a5536fc377bab636074848799d7749 (patch) | |
tree | 822b9bb7680c97b84f98f8d471b297637048d473 /tools/bpf | |
parent | a366e300ae9fc466d333e6d8f2bc5d58ed248041 (diff) | |
parent | 12fe12253c56a26e591ceefbdf0998b391022003 (diff) | |
download | linux-12ef9bda06a5536fc377bab636074848799d7749.tar.gz linux-12ef9bda06a5536fc377bab636074848799d7749.tar.bz2 linux-12ef9bda06a5536fc377bab636074848799d7749.zip |
Merge branch 'bpf-perf-sample-addr'
Teng Qin says:
====================
These patches add support that allows bpf programs attached to perf events to
read the address values recorded with the perf events. These values are
requested by specifying sample_type with PERF_SAMPLE_ADDR when calling
perf_event_open().
The main motivation for these changes is to support building memory or lock
access profiling and tracing tools. For example on Intel CPUs, the recorded
address values for supported memory or lock access perf events would be
the access or lock target addresses from PEBS buffer. Such information would
be very valuable for building tools that help understand memory access or
lock acquire pattern.
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions