summaryrefslogtreecommitdiffstats
path: root/tools/time
diff options
context:
space:
mode:
authorYonghong Song2018-01-04 22:55:04 +0100
committerDaniel Borkmann2018-01-06 23:52:23 +0100
commit3ced9b600234e6bb13cb25654ce44c4896485cf2 (patch)
tree33efbd17272bf7e54425103a21e7b31856bc7683 /tools/time
parentbpf: implement syscall command BPF_MAP_GET_NEXT_KEY for stacktrace map (diff)
downloadkernel-qcow2-linux-3ced9b600234e6bb13cb25654ce44c4896485cf2.tar.gz
kernel-qcow2-linux-3ced9b600234e6bb13cb25654ce44c4896485cf2.tar.xz
kernel-qcow2-linux-3ced9b600234e6bb13cb25654ce44c4896485cf2.zip
tools/bpf: add a bpf selftest for stacktrace
Added a bpf selftest in test_progs at tools directory for stacktrace. The test will populate a hashtable map and a stacktrace map at the same time with the same key, stackid. The user space will compare both maps, using BPF_MAP_LOOKUP_ELEM command and BPF_MAP_GET_NEXT_KEY command, to ensure that both have the same set of keys. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/time')
0 files changed, 0 insertions, 0 deletions