aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2021-11-17 14:06:32 +0100
committerMauro Carvalho Chehab <[email protected]>2021-11-30 12:18:34 +0100
commit71c789760ff9ba4b687c2f8aa828045ca525c517 (patch)
tree080a853e6bfc10c55defc3c299278c54055bd236 /tools/perf/scripts/python/exported-sql-viewer.py
parent9f89c881bffbdffe4060ffaef3489a2830a6dd9c (diff)
media: mtk-vcodec: fix debugging defines
The mtk-vcodec uses some internal defined debug formats for printing. This patch fixes some things in those defines: 1. use the 'pr_fmt' define to print function name and line. 2. remove 'if(DEBUG)' condition for the defines. This condition prevents the debugs from being shown in case of dynamic debugs. Instead replace 'pr_info' with 'pr_debug' 3. remove module parameters that enable/disable debug. There is no reason for the driver to have those params. Having those params require the user to explicitly set them when user wants to see debug prints instead of using the global debugs setting as expected by drivers to conform. In addition to that, fix some warnings about debug formatting [hverkuil: used %zu instead of %lu for sizeof() arguments] Signed-off-by: Dafna Hirschfeld <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions