summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2025-08-22 08:42:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-06 13:27:20 +0200
commitce2e0829241ab96af9c8a12b511debc5e3188934 (patch)
treee40d3f13633d82fb847beabbadf86117d34c0c10 /tools/perf/scripts/python/stat-cpi.py
parent06cb58b310ea38a8135827f726157df59a95376e (diff)
downloadkernel-ce2e0829241ab96af9c8a12b511debc5e3188934.tar.gz
rust: iov: add iov_iter abstractions for ITER_DEST
This adds abstractions for the iov_iter type in the case where data_source is ITER_DEST. This will make Rust implementations of fops->read_iter possible. This series only has support for using existing IO vectors created by C code. Additional abstractions will be needed to support the creation of IO vectors in Rust code. These abstractions make the assumption that `struct iov_iter` does not have internal self-references, which implies that it is valid to move it between different local variables. This patch adds an IovIterDest struct that is very similar to the IovIterSource from the previous patch. However, as the methods on the two structs have very little overlap (just getting the length and advance/revert), I do not think it is worth it to try and deduplicate this logic. Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Reviewed-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250822-iov-iter-v5-2-6ce4819c2977@google.com
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
mazet 2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds 2021-11-01Merge tag 'overflow-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds 2021-10-26test_kprobes: Move it from kernel/ to lib/Tiezhu Yang 2021-10-18lib: Introduce CONFIG_MEMCPY_KUNIT_TESTKees Cook 2021-10-18fortify: Add compile-time FORTIFY_SOURCE testsKees Cook 2021-10-06bitfield: build kunit tests without structleak pluginArnd Bergmann 2021-07-09Merge tag 'for-linus-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds 2021-06-29Merge branch 'akpm' (patches from Andrew)Linus Torvalds 2021-06-29Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds 2021-06-29mm/slub, kunit: add a KUnit test for SLUB debugging functionalityOliver Glitta 2021-06-17lib: add iomem emulation (logic_iomem)Johannes Berg 2021-05-22lib: kunit: suppress a compilation warning of frame sizeZhen Lei 2021-05-19lib: test_scanf: Add tests for sscanf number conversionRichard Fitzgerald 2021-04-14lib: Add ASN.1 encoderJames Bottomley 2021-02-24kasan: rename CONFIG_TEST_KASAN_MODULEAndrey Konovalov 2021-02-21Merge tag 'locking-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds 2021-01-14bpf: Move stack_map_get_build_id into libJiri Olsa 2021-01-04random32: Re-enable KCSAN instrumentationMarco Elver 2020-12-18Merge tag 'riscv-for-linus-5.11-mw0' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds 2020-12-15lib/cmdline_kunit: add a new test suite for cmdline APIAndy Shevchenko 2020-12-11selftest/fpu: avoid clang warningArnd Bergmann 2020-12-11Add and use a generic version of devmem_is_allowed()Palmer Dabbelt 2020-12-11lib: Add a generic version of devmem_is_allowed()Palmer Dabbelt 2020-10-18Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds 2020-10-16lib, include/linux: add usercopy failure capabilityAlbert van der Linde 2020-10-13mm/page_alloc.c: fix freeing non-compound pagesMatthew Wilcox (Oracle) 2020-10-13KASAN: port KASAN Tests to KUnitPatricia Alfonso 2020-10-13lib: kunit: add bitfield test conversion to KUnitVitor Massaru Iha 2020-08-19lib/string.c: Use freestanding environmentArvind Sankar 2020-08-12lib/test_bits.c: add tests of GENMASKRikard Falkeborn 2020-08-09Merge tag 'kbuild-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds