android_kernel_motorola_sm6375/kernel/events
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kaixu Xia ffe8690c85 perf: add the necessary core perf APIs when accessing events counters in eBPF programs
This patch add three core perf APIs:
 - perf_event_attrs(): export the struct perf_event_attr from struct
   perf_event;
 - perf_event_get(): get the struct perf_event from the given fd;
 - perf_event_read_local(): read the events counters active on the
   current CPU;
These APIs are needed when accessing events counters in eBPF programs.

The API perf_event_read_local() comes from Peter and I add the
corresponding SOB.

Signed-off-by: Kaixu Xia <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2015-08-09 22:50:05 -07:00
..
callchain.c
core.c perf: add the necessary core perf APIs when accessing events counters in eBPF programs 2015-08-09 22:50:05 -07:00
hw_breakpoint.c
internal.h perf: Fix AUX buffer refcounting 2015-07-06 14:08:30 +02:00
Makefile
ring_buffer.c perf: Fix AUX buffer refcounting 2015-07-06 14:08:30 +02:00
uprobes.c