diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2026-07-01 15:40:51 +0900 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-07-03 23:27:39 +0200 |
| commit | 78900738d981c97aad929e33620340d0d9bcfc82 (patch) | |
| tree | a984b3f0c42ec6fae61fb7ce038406351bdacf09 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a73a398a68ca9b9e5116a617562471f16b8310c4 (diff) | |
gpu: nova: fix rust-analyzer generation
The rust-analyzer generator script recognizes a crate when its
corresponding `.o` appears in the Rust source file's immediate `Makefile`
or `Kbuild` file.
Commit ca524e273c43 ("gpu: build nova-core and nova-drm from
drivers/gpu/Makefile") moves the build rules for `nova-core` and
`nova-drm` into `drivers/gpu/Makefile`, which results in the generator
script ignoring these crates.
Fix this by naming the crates' module as a comment in their respective
`Makefile`; this is enough for the script to pick them up and restore
`rust-analyzer` functionality on them.
Fixes: ca524e273c43 ("gpu: build nova-core and nova-drm from drivers/gpu/Makefile")
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Onur Özkan <work@onurozkan.dev>
Link: https://patch.msgid.link/20260701-nova-rust-analyzer-v1-1-5209f486f10d@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
