diff options
author | Libing Zhou <libing.zhou@nokia-sbell.com> | 2020-08-14 11:02:36 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-14 12:36:18 +0200 |
commit | cc172ff301d8079e941a6eb31758951a6d764084 (patch) | |
tree | a252cef5b659263862cee4173bd5b118e7b5e128 /kernel/uid16.c | |
parent | a1bd06853ee478d37fae9435c5521e301de94c67 (diff) | |
download | lwn-cc172ff301d8079e941a6eb31758951a6d764084.tar.gz lwn-cc172ff301d8079e941a6eb31758951a6d764084.zip |
sched/debug: Fix the alignment of the show-state debug output
Current sysrq(t) output task fields name are not aligned with
actual task fields value, e.g.:
kernel: sysrq: Show State
kernel: task PC stack pid father
kernel: systemd S12456 1 0 0x00000000
kernel: Call Trace:
kernel: ? __schedule+0x240/0x740
To make it more readable, print fields name together with task fields
value in the same line, with fixed width:
kernel: sysrq: Show State
kernel: task:systemd state:S stack:12920 pid: 1 ppid: 0 flags:0x00000000
kernel: Call Trace:
kernel: __schedule+0x282/0x620
Signed-off-by: Libing Zhou <libing.zhou@nokia-sbell.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200814030236.37835-1-libing.zhou@nokia-sbell.com
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions