diff options
author | 2020-07-02 19:45:37 -0700 | |
---|---|---|
committer | 2020-07-02 20:21:56 -0700 | |
commit | 046cc3dd9a2507b8e111714807ab8bf15ea5bb70 (patch) | |
tree | fdb000010085a84b92a72deb6919b9b2e1021773 /kernel/bpf/devmap.c | |
parent | bpf: selftests: Restore netns after each test (diff) | |
download | linux-dev-046cc3dd9a2507b8e111714807ab8bf15ea5bb70.tar.xz linux-dev-046cc3dd9a2507b8e111714807ab8bf15ea5bb70.zip |
bpf: Fix build without CONFIG_STACKTRACE
Without CONFIG_STACKTRACE stack_trace_save_tsk() is not defined. Let
get_callchain_entry_for_task() to always return NULL in such cases.
Fixes: fa28dcb82a38 ("bpf: Introduce helper bpf_get_task_stack()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200703024537.79971-1-songliubraving@fb.com
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions