]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-perf-sample-addr'
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 8 Mar 2018 01:22:34 +0000 (02:22 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 8 Mar 2018 01:22:35 +0000 (02:22 +0100)
commitdb1b7a1333bb0df845eee054f7282cc1d3955dfa
tree822b9bb7680c97b84f98f8d471b297637048d473
parentfd22258d9ae3a723552bd37e5579e62494b10ca4
parentb85991581e3e9bbdbcd69512b64c0460614abd9a
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>