diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2026-02-26 12:48:41 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-03-16 16:15:00 -0600 |
| commit | 98f37634b12b17ad5c56db8fb63cf9d7dc55d74c (patch) | |
| tree | a8642a003b48dcf9cf91d541ff611df792c70dc2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 890819248a8616558fe12e6c06c918ee1c3a2bc6 (diff) | |
io_uring/bpf-ops: implement bpf ops registration
Implement BPF struct ops registration. It's registered off the BPF
path, and can be removed by BPF as well as io_uring. To protect it,
introduce a global lock synchronising registration. ctx->uring_lock can
be nested under it. ctx->bpf_ops is write protected by both locks and
so it's safe to read it under either of them.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/1f46bffd76008de49cbafa2ad77d348810a4f69e.1772109579.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
