summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-07-06 13:44:17 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-07-11 17:59:32 +0200
commit46b1b54139c3e24b80eefc8da09c2f731ecc7e73 (patch)
treecd10d3803860f6b0167d6a470e34fc395ac91d5f /tools/perf/scripts/python/bin/stackcollapse-record
parent6461c5776bf0f546cfeaf2a72f1a2f7de27bfe0d (diff)
rust: io: implement `Io` on reference types instead
Currently, `Io` is implemented on owned I/O objects (e.g. `Bar`). This is going to change with I/O projections, as then `Io` needs to work both for owned objects and views of them. Views are themselves reference-like (however they obviously cannot be references, because they belong to a different address space). To facilitate the change, change `Io` to be implemented on reference types for the owned I/O objects, and make methods take `self` instead of `&self`. When I/O views are implemented, we can then naturally implement `Io` for these objects. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Gary Guo <gary@garyguo.net> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://patch.msgid.link/20260706-io_projection-v6-4-72cd5d055d54@garyguo.net Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions