Commit 0a8a888
Ulf Hansson
pmdomain: core: Add residency reflection for domain-idlestates to debugfs
For regular cpuidle states we are reflecting over the selected/entered
state to see if the sleep-duration meets the residency for the state. The
output from the reflection is an "above" value to indicate the number of
times the state was too deep and a "below" value for the number of times it
was too shallow.
Let's implement the similar thing for genpd's domain-idlestates along with
genpd's governor and put the information in the genpd's debugfs.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20250314100103.1294715-5-ulf.hansson@linaro.org1 parent d0252ba commit 0a8a888
3 files changed
Lines changed: 43 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
307 | 336 | | |
308 | 337 | | |
309 | 338 | | |
310 | 339 | | |
| 340 | + | |
311 | 341 | | |
312 | 342 | | |
313 | 343 | | |
| |||
982 | 1012 | | |
983 | 1013 | | |
984 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
985 | 1018 | | |
986 | 1019 | | |
987 | 1020 | | |
| |||
3517 | 3550 | | |
3518 | 3551 | | |
3519 | 3552 | | |
3520 | | - | |
| 3553 | + | |
3521 | 3554 | | |
3522 | 3555 | | |
3523 | 3556 | | |
| |||
3537 | 3570 | | |
3538 | 3571 | | |
3539 | 3572 | | |
3540 | | - | |
| 3573 | + | |
3541 | 3574 | | |
3542 | | - | |
| 3575 | + | |
| 3576 | + | |
3543 | 3577 | | |
3544 | 3578 | | |
3545 | 3579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
395 | 397 | | |
396 | 398 | | |
397 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| |||
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments