On Thu, Jul 2, 2020 at 7:45 PM Song Liu wrote:
>
> 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
> S
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
Signed-off-by: Song Liu
---
kernel/bpf/stackmap.c | 4