]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: add bpf_get_stack helper to tools headers
authorYonghong Song <yhs@fb.com>
Sun, 29 Apr 2018 05:28:12 +0000 (22:28 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 29 Apr 2018 15:45:53 +0000 (08:45 -0700)
commit345dff7b57707d608f2820f283a7aa7c64d9a3fc
treed67117e42ddcdc0da2e91ea8949bc489f0553cef
parent91414b7ccf09a986f63f46c6ea3a5d6c95462fa1
tools/bpf: add bpf_get_stack helper to tools headers

The tools header file bpf.h is synced with kernel uapi bpf.h.
The new helper is also added to bpf_helpers.h.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/bpf_helpers.h