diff options
author | Song Liu <songliubraving@fb.com> | 2020-07-02 19:45:37 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-02 20:21:56 -0700 |
commit | 046cc3dd9a2507b8e111714807ab8bf15ea5bb70 (patch) | |
tree | fdb000010085a84b92a72deb6919b9b2e1021773 /samples/uhid | |
parent | 811d7e375d08312dba23f3b6bf7e58ec14aa5dcb (diff) | |
download | linux-046cc3dd9a2507b8e111714807ab8bf15ea5bb70.tar.gz linux-046cc3dd9a2507b8e111714807ab8bf15ea5bb70.tar.bz2 linux-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 'samples/uhid')
0 files changed, 0 insertions, 0 deletions