forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit5b9f8ff
Valentin Schneider
Ingo Molnar
sched/debug: Output SD flag names rather than their values
Decoding the output of /proc/sys/kernel/sched_domain/cpu*/domain*/flags hasalways been somewhat annoying, as one needs to go fetch the bit -> namemapping from the source code itself. This encoding can be saved in a scriptsomewhere, but that isn't safe from flags being added, removed or evenshuffled around.What matters for debugging purposes is to get *which* flags are set in agiven 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.com1 parent65c5e25 commit5b9f8ff
1 file changed
+55
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
248 | 302 | | |
249 | 303 | | |
250 | 304 | | |
| |||
258 | 312 | | |
259 | 313 | | |
260 | 314 | | |
261 | | - | |
| 315 | + | |
262 | 316 | | |
263 | 317 | | |
264 | 318 | | |
| |||
0 commit comments
Comments
(0)