summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2026-06-22 22:30:08 +0900
committerDanilo Krummrich <dakr@kernel.org>2026-06-29 11:28:38 +0200
commit3b7b7ad78fd2adae8d9a016677b6dbbb9c9632a2 (patch)
treee0927b78ad1213f7e4b7b16b2dc1380e700d3338 /tools/perf/scripts/python/bin/stackcollapse-report
parentca524e273c43c990756cac471a4cb48d219480dd (diff)
gpu: nova-core: export Rust symbols for nova-drm
Export nova-core's Rust symbols so nova-drm can resolve references to it when loaded as a module. This is done by generating declarations and EXPORT_SYMBOL_RUST_GPL() calls for Rust symbols referenced by nova-drm, and compiling them into the module as `nova_core_exports.o`. `nova_core_exports.o` declares every Rust symbol as `extern int`. Running `gendwarfksyms` on it would compute CRCs from those placeholder types instead of the real Rust ones, so make MODVERSIONS use this shim only for the export list, and derive CRCs from `nova_core.o`. This patch is intended to be a workaround until the build system supports Rust cross-crate dependencies natively. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260622-nova-exports-v5-2-6191773fc977@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions