summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-06-28 16:53:38 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-07-12 16:06:43 +0200
commit3ba210061c2960380007e6475d1c1119216f5c83 (patch)
tree0f7c8c770cc4ae4897ccc991a426bd149e3456f0 /tools/perf/scripts/python/flamegraph.py
parente15b88223dc1becdc8c0d3d88795c5eb06518347 (diff)
rust: drm: Pass registration data to ioctl handlers
Pass registration data to ioctl handlers via drm::Device<Registered>::registration_data_with(). The closure's HRTB ties the lifetime to the closure scope, and the pointer cast shortens it from 'static internally. The reference is valid for the duration of the drm_dev_enter/exit critical section held by RegistrationGuard. Reviewed-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Tested-by: Deborah Brouwer <deborah.brouwer@collabora.com> Link: https://patch.msgid.link/20260628145406.2107056-19-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions