summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-05-02 22:29:08 +0100
committerGary Guo <gary@garyguo.net>2026-10-11 11:06:46 +0100
commitb8d10c864a76cfbe9d3d94b35482683219aca712 (patch)
tree9313e94ed0ff59fa037ed52300b08aa061a65f32 /tools/perf/scripts/python/bin/stackcollapse-report
parent71b0637185270a657333bb378d36e6bc79d64518 (diff)
rust: pin-init: internal: pin_data: add `with_project` method
The `project` method needs to perform covariant coercion on covariant fields, causing them to no longer being mutable. Implement a `with_project` that does not require covariant coercion by using higher-ranked trait bounds, thus allow the fields to be assignable inside the callback. This mechanism can also be used to access non-covariant fields. Acked-by: Benno Lossin <lossin@kernel.org> Link: https://patch.msgid.link/20261008-dev-selfref-v2-10-e280b3c8fba5@garyguo.net/ Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions