On 20/04/2018 11:47, Jesper Dangaard Brouer wrote:
On Thu, 19 Apr 2018 17:27:37 -0700
Alexei Starovoitov <alexei.starovoi...@gmail.com> wrote:
On Wed, Apr 18, 2018 at 05:30:59PM +0200, Sebastiano Miano wrote:
This patch adds a sample program, called trace_map_events,
that shows how to c
).
If no IDs are specified, all map events are listed and no filtering
is performed.
Sample usage:
# trace_map_events -i -i -i ...
Signed-off-by: Sebastiano Miano <sebastiano.mi...@polito.it>
---
samples/bpf/Makefile|4
samples/bpf/trace_map_events_kern.c
This patch adds the prog id to the bpf tracepoints
that can be used when monitoring or inspecting prog
related functions.
Signed-off-by: Sebastiano Miano <sebastiano.mi...@polito.it>
Suggested-by: Jesper Dangaard Brouer <bro...@redhat.com>
---
include/trace/events/bpf.h | 15 ++
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
This patch adds the map id to the bpf tracepoints
that can be used when monitoring or inspecting map
related functions.
Signed-off-by: Sebastiano Miano <sebastiano.mi...@polito.it>
Suggested-by: Jesper Dangaard Brouer <bro...@redhat.com>
---
include/trace/events/