diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-02-26 12:45:42 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-04-08 11:35:26 +0200 |
commit | 9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4 (patch) | |
tree | 8886e2c0ca55264b5bc3ecaafd0ecc404c2f3ac1 /block/blk.h | |
parent | c745a6212c9923eb2253f4229e5d7277ca3d9d8e (diff) | |
download | linux-9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4.tar.bz2 |
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 'block/blk.h')
0 files changed, 0 insertions, 0 deletions