Re: [PATCH net-next 2/2] samples/bpf: add samples for HW_CACHE / RAW events

From: David Miller
Date: Mon May 22 2017 - 19:40:55 EST


From: Alexei Starovoitov <ast@xxxxxx>
Date: Mon, 22 May 2017 16:35:07 -0700

> yet perf_event_read() is least documented. hmm.
> * u64 bpf_perf_event_read(&map, index)
> * Return: Number events read or error code
>
> that needs to be fixed.

That's exactly what I was talking about :-)