aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/fds_example.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-05-10 17:24:40 +0000
committerDaniel Borkmann <[email protected]>2018-05-10 23:40:52 +0000
commitd0cabbb021bee5c4b831a0235af9534ad07f8d3d (patch)
tree7843337206d80588110d9112d49836624b09be64 /samples/bpf/fds_example.c
parentsamples: bpf: compile and link against full libbpf (diff)
downloadkernel-d0cabbb021bee5c4b831a0235af9534ad07f8d3d.tar.gz
kernel-d0cabbb021bee5c4b831a0235af9534ad07f8d3d.zip
tools: bpf: move the event reading loop to libbpf
There are two copies of event reading loop - in bpftool and trace_helpers "library". Consolidate them and move the code to libbpf. Return codes from trace_helpers are kept, but renamed to include LIBBPF prefix. Suggested-by: Alexei Starovoitov <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'samples/bpf/fds_example.c')
0 files changed, 0 insertions, 0 deletions