[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bd11b6c4-c7ef-fa41-9cff-0dc36f4a3797@iogearbox.net>
Date: Thu, 8 Mar 2018 02:52:35 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Teng Qin <qinteng@...com>, ast@...com, netdev@...r.kernel.org
Cc: yhs@...com, kernel-team@...com
Subject: Re: [PATCH bpf-next 0/2] bpf: add support for bpf program to read
perf event sample address
On 03/06/2018 07:55 PM, Teng Qin wrote:
> 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.
Series applied to bpf-next, thanks Teng!
Powered by blists - more mailing lists