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)
commitde2ff05f48afcde816ff4edb217417f62f624ab5
treed67117e42ddcdc0da2e91ea8949bc489f0553cef
parent9cbe1f5a32dcd6d0508326f7d9098e5bc380a4fe
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