Song Liu
81f77fd0de
bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID
...
test_stacktrace_build_id() is added. It accesses tracepoint urandom_read
with "dd" and "urandom_read" and gathers stack traces. Then it reads the
stack traces from the stackmap.
urandom_read is a statically link binary that reads from /dev/urandom.
test_stacktrace_build_id() calls readelf to read build ID of urandom_read
and compares it with build ID from the stackmap.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-03-15 01:10:02 +01:00
..
accounting
arch
Revert "tools include s390: Grab a copy of arch/s390/include/uapi/asm/unistd.h"
2018-02-15 10:06:15 -03:00
bpf
tools: bpf: silence make by not deleting intermediate file
2018-03-09 10:22:59 +01:00
build
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2018-01-31 14:31:10 -08:00
cgroup
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
firewire
gpio
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
hv
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
iio
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
include
bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID
2018-03-15 01:10:02 +01:00
kvm /kvm_stat
tools/kvm_stat: print 'Total' line for multiple events only
2018-02-24 01:43:46 +01:00
laptop
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
leds
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
lib
tools/libbpf: Avoid possibly using uninitialized variable
2018-02-20 21:08:20 +01:00
nfsd
objtool
objtool: Fix another switch table detection issue
2018-02-28 16:03:19 +01:00
pci
pcmcia
perf
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
power
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
scripts
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
spi
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
testing
bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID
2018-03-15 01:10:02 +01:00
thermal /tmon
time
usb
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
virtio
virtio, vhost: fixes, cleanups, features
2018-02-08 10:41:00 -08:00
vm
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
wmi
tools: fix cross-compile var clobbering
2018-02-21 15:35:42 -08:00
Makefile