diff options
author | Valentin Schneider <valentin.schneider@arm.com> | 2020-08-17 12:29:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-08-19 10:49:48 +0200 |
commit | 5b9f8ff7b320a34af3dbcf04edb40d9b04f22f4a (patch) | |
tree | b707215717d743c5fcd216cf7f260bc61eabce6e /certs/Kconfig | |
parent | 65c5e253168dbbb52c20026b0c5b7a2f344b9197 (diff) | |
download | linux-stable-5b9f8ff7b320a34af3dbcf04edb40d9b04f22f4a.tar.gz linux-stable-5b9f8ff7b320a34af3dbcf04edb40d9b04f22f4a.tar.bz2 linux-stable-5b9f8ff7b320a34af3dbcf04edb40d9b04f22f4a.zip |
sched/debug: Output SD flag names rather than their values
Decoding the output of /proc/sys/kernel/sched_domain/cpu*/domain*/flags has
always been somewhat annoying, as one needs to go fetch the bit -> name
mapping from the source code itself. This encoding can be saved in a script
somewhere, but that isn't safe from flags being added, removed or even
shuffled around.
What matters for debugging purposes is to get *which* flags are set in a
given domain, their associated value is pretty much meaningless.
Make the sd flags debug file output flag names.
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: https://lore.kernel.org/r/20200817113003.20802-7-valentin.schneider@arm.com
Diffstat (limited to 'certs/Kconfig')
0 files changed, 0 insertions, 0 deletions