From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: [PATCH net-next v2 0/2] BPF updates Date: Mon, 18 Apr 2016 21:01:22 +0200 Message-ID: Cc: alexei.starovoitov@gmail.com, tgraf@suug.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Borkmann To: davem@davemloft.net Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org This minor set adds a new helper bpf_event_output() for eBPF cls/act program types which allows to pass events to user space applications. For details, please see individual patches. Thanks! v1 -> v2: - Address kbuild bot found compile issue in patch 2 - Rest as is Daniel Borkmann (2): bpf, trace: add BPF_F_CURRENT_CPU flag for bpf_perf_event_output bpf: add event output helper for notifications/sampling/logging include/linux/bpf.h | 2 ++ include/uapi/linux/bpf.h | 4 ++++ kernel/bpf/core.c | 7 +++++++ kernel/trace/bpf_trace.c | 34 +++++++++++++++++++++++++++++++++- net/core/filter.c | 2 ++ 5 files changed, 48 insertions(+), 1 deletion(-) -- 1.9.3