summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-05-21 14:06:19 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 05:04:35 +0300
commit6671683db8540e5766f44a1089549c168730ae41 (patch)
tree920035c808a053221cdfa70363b58f2717749e59 /tools/perf/scripts/python/export-to-postgresql.py
parent7daf59300999693b85233762b847f1b2313cccbd (diff)
downloadlinux-6671683db8540e5766f44a1089549c168730ae41.tar.xz
powerpc/xmon: Specify the full format in DUMP() macro
In dump_one_paca() the DUMP macro unconditionally prepends '#' to the printf format specifier. In most cases we're using either 'x' or 'lx' etc. and that is OK. But for 'p' and other formats using '#' is actually undefined, and once we enable printf() checking for xmon_printf() we will get warnings from the compiler. So just have each usage specify the full format, that way we can omit '#' when it's inappropriate. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Mathieu Malaterre <malat@debian.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions