summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorValentin Schneider <valentin.schneider@arm.com>2020-02-26 12:45:42 +0000
committerIngo Molnar <mingo@kernel.org>2020-04-08 11:35:26 +0200
commit9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4 (patch)
tree8886e2c0ca55264b5bc3ecaafd0ecc404c2f3ac1 /usr
parentc745a6212c9923eb2253f4229e5d7277ca3d9d8e (diff)
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 'usr')
0 files changed, 0 insertions, 0 deletions