summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-06-29 13:39:44 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-07-30 22:50:15 +0200
commit17fcdecb14b463863890d3101457f6256f90e17a (patch)
treee7f646701622f60324a37395215090b9651f2270 /tools/perf/scripts/python/task-analyzer.py
parent2c5d17cdc4e9783e3e95d4f71cf4d3e73d113d4e (diff)
rust: driver: remove duplicate ID table
Previously, `IdArray` contains both device ID table and info table so we keep a separate copy for MODULE_DEVICE_TABLE for hotplug (which needs to be just the device ID table). With the info being changed to be carried via pointers, `IdArray` is now layout compatible with raw ID table and hence there is no longer a need to keep the distinction. Deduplicate the code, and remove the redundant copy for hotplug purpose by just giving the `IdArray` instance a proper symbol name. While at it, also update the macro to use `::core::line!()` instead of just `line!()`. Signed-off-by: Gary Guo <gary@garyguo.net> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://patch.msgid.link/20260629-id_info-v2-10-56fccbe9c5ef@garyguo.net Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions