summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-09-24 13:30:18 +0100
committerGary Guo <gary@garyguo.net>2026-10-11 11:06:47 +0100
commit59a9b11bccdb308f242ba6abc4638d64816781b1 (patch)
tree0eda8e3d73dd4fe2025042291ad41c208f294ecd /tools/perf/scripts/python/bin/stackcollapse-report
parent0b326dd96e773ef5e980f62f5e1b4fb05c4f983a (diff)
rust: pin-init: internal: pin_data: parse explicit `#[uses]` annotation
Add support for explicit self-referential annotations. `#[uses]` attribute is used to mark what other field lifetimes are captured by this field, and also the variance of the type in respect to the field lifetimes. For example, #[uses('a: covariant, 'b: invariant)] indicates that the field captures the field lifetime `'a` covariantly, and field lifetime `'b` invariantly. Many types are covariant, so this is the default variance if the variance is omitted (e.g. `#[uses('a)]`), consistent with the automatically inferred borrow. Acked-by: Benno Lossin <lossin@kernel.org> Link: https://patch.msgid.link/20261008-dev-selfref-v2-15-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