[bpf-next PATCH 0/3] Add ID to bpf_map/prog tracepoints

Sebastiano Miano
2018-04-18T15:58:16Z

The following series:
1) Add ID to both map and prog related tracepoints
2) Add a sample program that shows how to monitor and
filter map related events using their IDs.

---

Sebastiano Miano (3):
bpf: add id to map tracepoint
bpf: add id to prog tracepoint
bpf: add sample program to trace map events

include/trace/events/bpf.h | 44 ++++-
samples/bpf/Makefile | 4
samples/bpf/trace_map_events_kern.c | 217 ++++++++++++++++++++++++
samples/bpf/trace_map_events_user.c | 314 +++++++++++++++++++++++++++++++++++
4 files changed, 569 insertions(+), 10 deletions(-)
create mode 100644 samples/bpf/trace_map_events_kern.c
create mode 100644 samples/bpf/trace_map_events_user.c