diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-06-28 16:53:23 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-12 15:55:51 +0200 |
| commit | 893f39dadaa172c0f869e5b138f2cfdd851df781 (patch) | |
| tree | 5817adc0a78ccd7fb78995763aea157e92097ab6 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fd0f827c532b976d38e3cbbda5d3fa60a82ce8d5 (diff) | |
rust: faux: add Device type with AsBusDevice support
Add a faux::Device type that wraps struct faux_device and implements
AsBusDevice, enabling faux devices to be used as parent devices for
subsystems that require a bus device, such as DRM.
Update Registration to return &faux::Device<Bound> via AsRef.
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Link: https://patch.msgid.link/20260628145406.2107056-4-dakr@kernel.org
[ Drop redundant 'struct device' invariant; implied by valid
struct faux_device. - Danilo ]
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
