Re: [PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter
From: David Miller
Date: Mon Aug 10 2015 - 01:50:43 EST
From: Kaixu Xia <xiakaixu@xxxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/