[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150809.225034.728930050511076416.davem@davemloft.net>
Date: Sun, 09 Aug 2015 22:50:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiakaixu@...wei.com
Cc: ast@...mgrid.com, acme@...nel.org, mingo@...hat.com,
a.p.zijlstra@...llo.nl, masami.hiramatsu.pt@...achi.com,
jolsa@...nel.org, daniel@...earbox.net, wangnan0@...wei.com,
linux-kernel@...r.kernel.org, pi3orama@....com, hekuang@...wei.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v7 0/5] bpf: Introduce the new ability of eBPF programs
to access hardware PMU counter
From: Kaixu Xia <xiakaixu@...wei.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists