diff options
author | 2024-01-16 15:07:28 +0200 | |
---|---|---|
committer | 2024-02-09 11:51:53 +0200 | |
commit | 9fd6f61a297e944fa045a1cb6cd53916d0fea454 (patch) | |
tree | e01f6eae9240f0d9b38d49c786809699aee01919 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/print: move enum drm_debug_category etc. earlier in drm_print.h (diff) | |
download | wireguard-linux-9fd6f61a297e944fa045a1cb6cd53916d0fea454.tar.xz wireguard-linux-9fd6f61a297e944fa045a1cb6cd53916d0fea454.zip |
drm/print: add drm_dbg_printer() for drm device specific printer
We've lacked a device specific debug printer. Add one. Take category
into account too.
__builtin_return_address(0) is inaccurate here, so don't use it. If
necessary, we can later pass __func__ to drm_dbg_printer() by wrapping
it inside a macro.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/48607d58e5cdf8341ffdd522257542fa2ce41a19.1705410327.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions