summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2026-08-07 19:29:40 +0300
committerNicolas Schier <nsc@kernel.org>2026-08-14 21:34:40 +0200
commita765d3c6cd88696fd233b9596b721400c6b25396 (patch)
treed15cf7669b668fad32797e8ccedf115d9ea72cf1 /tools/perf/scripts/python/bin
parent35e4b60792cd45d57c3af00f67bb5bf9ae4243e9 (diff)
modpost: add module as parameter to modpost_log()
modpost has a lot of error logging with module name, but the module name is logged in a plethora of ways. Add struct module * parameter to modpost_log(), and wrappers mod_warn() and mod_error(), to allow logging with a unified module name, if provided. If the module is provided, the messages will be of the format: (ERROR|WARNING): modpost: (modname.ko|vmlinux): message Actual conversion is done separately. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patch.msgid.link/f27bd8810f0ef12fb86068f0190e4e0afa81e0fa.1786120005.git.jani.nikula@intel.com Reviewed-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Nicolas Schier <nsc@kernel.org> Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions