diff options
author | Valentin Schneider <[email protected]> | 2020-02-26 12:45:42 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-04-08 11:35:26 +0200 |
commit | 9e3bf9469c29f7e4e49c5c0d8fecaf8ac57d1fe4 (patch) | |
tree | 8886e2c0ca55264b5bc3ecaafd0ecc404c2f3ac1 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | c745a6212c9923eb2253f4229e5d7277ca3d9d8e (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 <[email protected]>
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions