aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2019-10-11 19:30:39 +1100
committerMichael Ellerman <[email protected]>2019-10-11 19:33:25 +1100
commitf7a678a8fa548fdd9e89e006f35b0fd60b6f3acc (patch)
treee2060f43d96342e0e38e50c7a24aa74ee79c10ae /tools/perf/scripts/python
parentcd1d55f16d48d97d681d9534170ce712ac1d09e7 (diff)
powerpc/udbg: Make it safe to call udbg_printf() always
Make udbg_printf() check if udbg_putc is set, and if not just return. This makes it safe to call udbg_printf() anytime, even when a udbg backend has not been registered, which means we can avoid some ifdefs at call sites. Signed-off-by: Qian Cai <[email protected]> [mpe: Split out of larger patch, write change log] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions