Thread (19 messages) flat view 19 messages, 2 authors, 2015-02-10

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: lkml, netdev

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help