diff options
author | David S. Miller <davem@davemloft.net> | 2016-09-02 20:46:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-02 20:46:45 +0300 |
commit | 4df20483ab287b24a7ffe38e53d473880de3dd98 (patch) | |
tree | ce7e1ec61c8c12ef2b02ac5bb67b6ed8d2023f64 /include/net/switchdev.h | |
parent | 569e937e0100c8841619bd2150d15682141a6b0b (diff) | |
parent | 72874418e4b9e2673c26a810b0ae9f418b573ee3 (diff) | |
download | linux-4df20483ab287b24a7ffe38e53d473880de3dd98.tar.xz |
Merge branch 'bpf-perf-hw-sw-events'
Alexei Starovoitov says:
====================
perf, bpf: add support for bpf in sw/hw perf_events
this patch set is a follow up to the discussion:
https://lkml.kernel.org/r/20160804142853.GO6862%20()%20twins%20!%20programming%20!%20kicks-ass%20!%20net
It turned out to be simpler than what we discussed.
Patches 1-3 is bpf-side prep for the main patch 4
that adds bpf program as an overflow_handler to sw and hw perf_events.
Patches 5 and 6 are examples from myself and Brendan.
Peter,
to implement your suggestion to add ifdef CONFIG_BPF_SYSCALL
inside struct perf_event, I had to shuffle ifdefs in events/core.c
Please double check whether that is what you wanted to see.
v2->v3: fixed few more minor issues
v1->v2: fixed issues spotted by Peter and Daniel.
====================
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions