summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2026-03-31 23:32:01 +0800
committerJens Axboe <axboe@kernel.dk>2026-04-07 07:42:39 -0600
commitaffb5f67d73c1e0bd412e7807a55691502b5679e (patch)
tree8b497eee061d0b448715d6de7bb220cfc08332e9 /tools/perf/scripts/python/stackcollapse.py
parent12075992c62ee330b2c531fa066b19be21698115 (diff)
selftests/ublk: add read-only buffer registration test
Add --rdonly_shmem_buf option to kublk that registers shared memory buffers with UBLK_SHMEM_BUF_READ_ONLY (read-only pinning without FOLL_WRITE) and mmaps with PROT_READ only. Add test_shmemzc_04.sh which exercises the new flag with a null target, hugetlbfs buffer, and write workload. Write I/O works because the server only reads from the shared buffer — the data flows from client to kernel to the shared pages, and the server reads them out. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://patch.msgid.link/20260331153207.3635125-11-ming.lei@redhat.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