summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2025-01-06 10:59:50 -0800
committerAlexei Starovoitov <ast@kernel.org>2025-01-06 10:59:56 -0800
commit859a7db4c7db84b06ca7fc9c60eb45a130c8fbec (patch)
treeed16b336308fe7e06470331a87eb492bfd7c9de0 /tools/perf/scripts/python/export-to-sqlite.py
parent2532608530eab68207e384053fae7db7f35256ee (diff)
parent87091dd986db51406e64dd5e8c9d22617c66c6af (diff)
Merge branch 'bpf-allow-bpf_for-bpf_repeat-while-holding-spin'
Emil Tsalapatis says: ==================== In BPF programs, kfunc calls while holding a lock are not allowed because kfuncs may sleep by default. The exception to this rule are the functions in special_kfunc_list, which are guaranteed to not sleep. The bpf_iter_num_* functions used by the bpf_for and bpf_repeat macros make no function calls themselves, and as such are guaranteed to not sleep. Add them to special_kfunc_list to allow them within BPF spinlock critical sections. Signed-off-by: Emil Tsalapatis (Meta) <emil@etsalapatis.com> ==================== Link: https://patch.msgid.link/20250104202528.882482-1-emil@etsalapatis.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions