Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1203776

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter
Date 2015-08-10 08:00 +0200
Message-ID <pVOhR-535-41@gated-at.bofh.it> (permalink)
References <pUnto-1Db-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Kaixu Xia <xiakaixu@huawei.com>
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter Kaixu Xia <xiakaixu@huawei.com> - 2015-08-06 09:10 +0200
  [PATCH v7 1/5] perf: add the necessary core perf APIs when accessing events counters in eBPF programs Kaixu Xia <xiakaixu@huawei.com> - 2015-08-06 09:10 +0200
  [PATCH v7 3/5] bpf: Add new bpf map type to store the pointer to struct perf_event Kaixu Xia <xiakaixu@huawei.com> - 2015-08-06 09:10 +0200
  [PATCH v7 5/5] samples/bpf: example of get selected PMU counter value Kaixu Xia <xiakaixu@huawei.com> - 2015-08-06 09:10 +0200
    Re: [PATCH v7 5/5] samples/bpf: example of get selected PMU counter  value Alexei Starovoitov <ast@plumgrid.com> - 2015-08-12 04:00 +0200
  Re: [PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs  to access hardware PMU counter David Miller <davem@davemloft.net> - 2015-08-10 08:00 +0200

csiph-web