diff options
author | Yonghong Song <yhs@fb.com> | 2018-04-28 22:28:16 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-04-29 08:45:54 -0700 |
commit | 79b45350131057250236e162ce7b3c0b291dc0a4 (patch) | |
tree | 6aeacaea9a6182914c6e79e073e9f279f57d7cf2 /scripts/bpf_helpers_doc.py | |
parent | 173965fbfba596c02fa128966c2a33cb88afcd7f (diff) | |
download | linux-79b45350131057250236e162ce7b3c0b291dc0a4.tar.gz linux-79b45350131057250236e162ce7b3c0b291dc0a4.tar.bz2 linux-79b45350131057250236e162ce7b3c0b291dc0a4.zip |
tools/bpf: add a test for bpf_get_stack with tracepoint prog
The test_stacktrace_map and test_stacktrace_build_id are
enhanced to call bpf_get_stack in the helper to get the
stack trace as well. The stack traces from bpf_get_stack
and bpf_get_stackid are compared to ensure that for the
same stack as represented as the same hash, their ip addresses
or build id's must be the same.
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions