perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Linux Thermal stats just shows one entry

Open sifangli-labs opened this issue 1 year ago • 4 comments

Hi, On Linux OS I collected a trace of linux.sys_stats with thermal_perios_ms=60sec. On the Autopush UI, the trace only show one entry, but the OS do have two entries: /sys/class/hwmon/hwmon0 and /sys/class/hwmon/hwmon1 What is missing (in UI anyway) is coretmep in /sys/class/hwmon/hwmon1

I remember I reported a similar issue for IO stats (already fixed in autopush) - only one disk's stats were reported, this is likely due to the same assumption (assumed Android)? Can you make the fix? thx!

sifangli-labs avatar Sep 22 '25 22:09 sifangli-labs

We poll data from /sys/class/thermal/ folder. Can you please confirm that there are multiple targets here for us to poll?

LalitMaganti avatar Sep 22 '25 22:09 LalitMaganti

Specifically, we only support polling data from themal_zones targets. Other target types are not supported.

LalitMaganti avatar Sep 22 '25 22:09 LalitMaganti

Gotcha - in that case the Linux OS I am using just have thermal_zone0 - too bad.

sifangli-labs avatar Sep 22 '25 22:09 sifangli-labs

Not much we can do in that case. If someone wants to add better support for polling thermal data on Linux, patches welcome but it's not a bug inside our current thermal polling.

LalitMaganti avatar Sep 22 '25 22:09 LalitMaganti