diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2026-08-07 19:29:41 +0300 |
|---|---|---|
| committer | Nicolas Schier <nsc@kernel.org> | 2026-08-15 21:01:51 +0200 |
| commit | d900723d78adec229996aefbab0dcaa66a177b77 (patch) | |
| tree | e11ad53ca4129204e2e98521f472dc41a115c03b /tools/perf/scripts/python/stackcollapse.py | |
| parent | a765d3c6cd88696fd233b9596b721400c6b25396 (diff) | |
modpost: use mod_warn() and mod_error(), clean up logging
Convert all module name logging to use the mod_warn() and mod_error()
helpers, and pass the module to modpost_log() where used directly, to
always have the module name prefixed in the log message, with .ko suffix
for modules.
Pass struct module *mod around in a few places instead of just
mod->name.
Further unify the logging while at it. Use single quotes instead of
double quotes for symbols, sections, and namespaces. Explicitly state
it's a "symbol" when referencing symbols.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/17ed1bce5d54fb32533ba83bc83c429cb71adcb0.1786120005.git.jani.nikula@intel.com
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
