Re: [PATCH v3 linux-trace 4/8] samples: bpf: simple tracing example in C

From
Alexei Starovoitov <hidden>
Date
2015-02-10 05:48:05
Also in
linux-api, lkml
Reply to
Alexei Starovoitov, 2015-02-10
On Mon, Feb 9, 2015 at 9:45 PM, Alexei Starovoitov [off-list ref] wrote:
I thought we already stated that.
Here is the quote from perf_event.h:
         *      # The RAW record below is opaque data wrt the ABI
         *      #
         *      # That is, the ABI doesn't make any promises wrt to
         *      # the stability of its content, it may vary depending
         *      # on event, hardware, kernel version and phase of
         *      # the moon.
         *      #
         *      # In other words, PERF_SAMPLE_RAW contents are not an ABI.

and this example is reading PERF_SAMPLE_RAW events and
uses locally defined structs to print them for simplicity.
to underline my point once more:
addition of bpf doesn't change at all what PERF_SAMPLE_RAW already
delivers to user space.
so no new ABIs anywhere.
Thread (19 messages) 19 messages, 2 authors, last reply 2015-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help