diff options
author | Wei Yongjun <[email protected]> | 2021-03-11 13:15:05 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-03-16 12:24:20 -0700 |
commit | 4d0b93896ff8d6795ad8d1b604e41aa850d5a635 (patch) | |
tree | c503ffa25f07113e1d2952771418f6dcbb20b23b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6bd45f2e78f31bde335f7720e570a07331031110 (diff) |
bpf: Make symbol 'bpf_task_storage_busy' static
The sparse tool complains as follows:
kernel/bpf/bpf_task_storage.c:23:1: warning:
symbol '__pcpu_scope_bpf_task_storage_busy' was not declared. Should it be static?
This symbol is not used outside of bpf_task_storage.c, so this
commit marks it static.
Fixes: bc235cdb423a ("bpf: Prevent deadlock from recursive bpf_task_storage_[get|delete]")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions