Thread (8 messages) flat view 8 messages, 3 authors, 2015-08-12

Re: [PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter

From: David Miller <davem@davemloft.net>
Date: 2015-08-10 05:50:40
Also in: lkml

From: Kaixu Xia <redacted>
Date: Thu, 6 Aug 2015 07:02:31 +0000
The detail of patches is as follow:

Patch 1/5 add the necessary core perf APIs perf_event_attrs(),
perf_event_get(),perf_event_read_local() when accessing events
counters in eBPF programs

Patch 2/5 rewrites part of the bpf_prog_array map code and make it
more generic;

Patch 3/5 introduces a new bpf map type. This map only stores the
pointer to struct perf_event;

Patch 4/5 implements function bpf_perf_event_read() that get the
selected hardware PMU conuter;

Patch 5/5 gives a simple example.
Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help