diff options
| author | JP Kobryn <[email protected]> | 2023-03-24 18:08:45 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-03-27 11:33:43 -0700 |
| commit | f1cb927cdb6280e0ce283174cc1bf395dffc43d4 (patch) | |
| tree | d9797bbb0073a28680c76bf7fe862a4272d5a285 /tools/perf/scripts/python | |
| parent | 5f5a7d8d8bd461f515543040ad7d107cc405d30c (diff) | |
libbpf: Ensure print callback usage is thread-safe
This patch prevents races on the print function pointer, allowing the
libbpf_set_print() function to become thread-safe.
Signed-off-by: JP Kobryn <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions