commit | 3ced9b600234e6bb13cb25654ce44c4896485cf2 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Thu Jan 04 13:55:04 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sat Jan 06 23:52:23 2018 +0100 |
tree | 33efbd17272bf7e54425103a21e7b31856bc7683 | |
parent | 16f07c551e3ac433874031433231140d38e69ccd [diff] |
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>