diff options
author | Zhen Lei <[email protected]> | 2022-07-27 14:08:19 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2022-08-02 21:45:35 +0200 |
commit | 0f03d6805bfc454279169a1460abb3f6b3db317f (patch) | |
tree | 3556b090aaf5f2753eec8d5c1f8af9f02c6c5ec0 /net/switchdev/switchdev.c | |
parent | b3f53daacc74c0ca0922e14a8cb793cb2db4c6d1 (diff) |
sched/debug: Print each field value left-aligned in sched_show_task()
Currently, the values of some fields are printed right-aligned, causing
the field value to be next to the next field name rather than next to its
own field name. So print each field value left-aligned, to make it more
readable.
Before:
stack: 0 pid: 307 ppid: 2 flags:0x00000008
After:
stack:0 pid:308 ppid:2 flags:0x0000000a
This also makes them print in the same style as the other two fields:
task:demo0 state:R running task
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions