aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2021-08-09 16:51:51 -0700
committerDaniel Borkmann <[email protected]>2021-08-10 10:10:49 +0200
commit87b7b5335e6995a6d64fca98fc67b92b29caac9c (patch)
tree11879d3cfc48083ece2a1f0e9960aed3bcca8792 /tools/perf/scripts/python/export-to-postgresql.py
parent51e1bb9eeaf7868db56e58f47848e364ab4c4129 (diff)
bpf: Add missing bpf_read_[un]lock_trace() for syscall program
Commit 79a7f8bdb159d ("bpf: Introduce bpf_sys_bpf() helper and program type.") added support for syscall program, which is a sleepable program. But the program run missed bpf_read_lock_trace()/bpf_read_unlock_trace(), which is needed to ensure proper rcu callback invocations. This patch adds bpf_read_[un]lock_trace() properly. Fixes: 79a7f8bdb159d ("bpf: Introduce bpf_sys_bpf() helper and program type.") Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions