diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-02-26 13:45:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-04-08 11:35:26 +0200 |
commit | 9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4 (patch) | |
tree | 8886e2c0ca55264b5bc3ecaafd0ecc404c2f3ac1 /arch | |
parent | sched/debug: Remove redundant macro define (diff) | |
download | linux-9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4.tar.xz linux-9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4.zip |
sched/debug: Factor out printing formats into common macros
The printing macros in debug.c keep redefining the same output
format. Collect each output format in a single definition, and reuse that
definition in the other macros. While at it, add a layer of parentheses and
replace printf's with the newly introduced macros.
Reviewed-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200226124543.31986-3-valentin.schneider@arm.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions