linux/tools/power
Xueqin Luo 34ea427e01 PM: tools: sleepgraph: Recognize "CPU killed" messages
On the arm64 platform with PSCI, the core log of CPU offline is as
follows:

[  100.431501] CPU1: shutdown
[  100.454820] psci: CPU1 killed (polled 20 ms)
[  100.459266] CPU2: shutdown
[  100.482575] psci: CPU2 killed (polled 20 ms)
[  100.486057] CPU3: shutdown
[  100.513974] psci: CPU3 killed (polled 28 ms)
[  100.518068] CPU4: shutdown
[  100.541481] psci: CPU4 killed (polled 24 ms)

Prevent sleepgraph from mistakenly treating the "CPU up" message as part
of the suspend flow (because it should be regarded as part of the resume
flow) by making it recognize the "CPU* killed" messages above.

Signed-off-by: Xueqin Luo <luoxueqin@kylinos.cn>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-03-27 19:24:08 +02:00
..
acpi ACPI: tools: pfrut: Check if the input of level and type is in the right numeric range 2023-03-14 20:38:13 +01:00
cpupower cpupower: rapl monitor - shows the used power consumption in uj for each rapl domain 2022-11-30 16:48:34 -07:00
pm-graph PM: tools: sleepgraph: Recognize "CPU killed" messages 2023-03-27 19:24:08 +02:00
x86 tools/power turbostat: version 2023.03.17 2023-03-17 11:36:46 -04:00