summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJonathan Wiepert <jonathan.wiepert@gmail.com>2025-04-24 18:14:57 -0400
committerAndrii Nakryiko <andrii@kernel.org>2025-04-25 09:27:17 -0700
commit91dbac4076537b464639953c055c460d2bdfc7ea (patch)
tree0ea083355fd3dd12996f03632af2fd0276af0e21 /tools/perf/scripts/python/export-to-sqlite.py
parent64821d25f05ac468d435e61669ae745ce5a633ea (diff)
Use thread-safe function pointer in libbpf_print
This patch fixes a thread safety bug where libbpf_print uses the global variable storing the print function pointer rather than the local variable that had the print function set via __atomic_load_n. Fixes: f1cb927cdb62 ("libbpf: Ensure print callback usage is thread-safe") Signed-off-by: Jonathan Wiepert <jonathan.wiepert@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Mykyta Yatsenko <mykyta.yatsenko5@gmail.com> Link: https://lore.kernel.org/bpf/20250424221457.793068-1-jonathan.wiepert@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions