diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-20 08:56:41 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-28 08:42:58 +0900 |
commit | f4fdb17ca5a5285d4a0ed81b25d5a3d7b9b3ebf3 (patch) | |
tree | 3919ba866936ff712552472685a4d13eaa0619e2 /tools/perf/scripts/python/task-analyzer.py | |
parent | b7bca42d101d8d9678068cde645bd6d0afa8a20f (diff) |
modpost: introduce module_alias_printf() helper
The generic ->do_entry() handler is currently limited to returning
a single alias string.
However, this is not flexible enough for several subsystems, which
currently require their own implementations:
- do_usb_table()
- do_of_table()
- do_pnp_device_entry()
- do_pnp_card_entries()
This commit introduces a helper function so that these special cases can
add multiple MODULE_ALIAS() and then migrate to the generic framework.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions