]> 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)
commit2baccfb5800e4dbfea3cb1f9c3859f8f3259fc1f
treed67117e42ddcdc0da2e91ea8949bc489f0553cef
parente5f192d1e30d4069ab03247a816cc95afa7b680e
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