aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2020-08-17 12:29:52 +0100
committerIngo Molnar <[email protected]>2020-08-19 10:49:48 +0200
commit5b9f8ff7b320a34af3dbcf04edb40d9b04f22f4a (patch)
treeb707215717d743c5fcd216cf7f260bc61eabce6e /tools/perf/scripts/python/export-to-sqlite.py
parent65c5e253168dbbb52c20026b0c5b7a2f344b9197 (diff)
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions