Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbbG3AIx (ORCPT ); Wed, 29 Jul 2015 20:08:53 -0400 Received: from www62.your-server.de ([213.133.104.62]:40541 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbbG3AIw (ORCPT ); Wed, 29 Jul 2015 20:08:52 -0400 Message-ID: <55B96B0A.2090003@iogearbox.net> Date: Thu, 30 Jul 2015 02:08:42 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Kaixu Xia , ast@plumgrid.com, davem@davemloft.net, acme@kernel.org, mingo@redhat.com, a.p.zijlstra@chello.nl, masami.hiramatsu.pt@hitachi.com, jolsa@kernel.org CC: wangnan0@huawei.com, linux-kernel@vger.kernel.org, pi3orama@163.com, hekuang@huawei.com Subject: Re: [PATCH v4 0/4] bpf: Introduce the new ability of eBPF programs to access hardware PMU counter References: <1438082255-60683-1-git-send-email-xiakaixu@huawei.com> In-Reply-To: <1438082255-60683-1-git-send-email-xiakaixu@huawei.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1832 Lines: 44 On 07/28/2015 01:17 PM, Kaixu Xia wrote: > Previous patch v3 url: > https://lkml.org/lkml/2015/7/23/203 ... > Kaixu Xia (3): > bpf: Add new bpf map type to store the pointer to struct perf_event > bpf: Implement function bpf_perf_event_read() that get the selected > hardware PMU conuter > samples/bpf: example of get selected PMU counter value > > Wang Nan (1): > bpf: Make the bpf_prog_array_map more generic So kernel/bpf/ patches are usually going via netdev tree as main development happens there and to avoid cross tree conflicts, etc. Thus, please Cc also netdev in the next iterations. Maybe when these patches are in a perfect shape at some point, perf folks provide their Acked-by(s) to the series to give their consent, and then this should go via net-next? Or will this be organized differently? > include/linux/bpf.h | 8 ++- > include/linux/perf_event.h | 5 +- > include/uapi/linux/bpf.h | 2 + > kernel/bpf/arraymap.c | 161 ++++++++++++++++++++++++++++++++++++--------- > kernel/bpf/helpers.c | 36 ++++++++++ > kernel/bpf/syscall.c | 4 +- > kernel/bpf/verifier.c | 15 +++++ > kernel/events/core.c | 21 +++++- > kernel/trace/bpf_trace.c | 2 + > samples/bpf/Makefile | 4 ++ > samples/bpf/bpf_helpers.h | 2 + > samples/bpf/tracex6_kern.c | 26 ++++++++ > samples/bpf/tracex6_user.c | 67 +++++++++++++++++++ > 13 files changed, 316 insertions(+), 37 deletions(-) > create mode 100644 samples/bpf/tracex6_kern.c > create mode 100644 samples/bpf/tracex6_user.c > -- 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/