linaro-pm-wg team mailing list archive
-
linaro-pm-wg team
-
Mailing list archive
-
Message #00524
[Bug 1336058] [NEW] idlestat asserts if CPUs are offline at startup
Public bug reported:
Running idlestat on an ARM device where the CPUs are offlined when very
idle idlestat asserts because pstate is NULL:
root@ubuntu-phablet:~/idlestat# ./idlestat --trace -f trace.log -t 20
...
...
warning: P-states not supported for CPU1
warning: P-states not supported for CPU2
warning: P-states not supported for CPU3
idlestat: idlestat.c:820: idlestat_load: Assertion `datas->pstates[cpu].pstate != ((void *)0)' failed.
Aborted (core dumped)
This only occurs because on startup the CPUS 1-3 are offline and hence
we can't read the pstate info and so this is NULL for these cpus.
During the run one or more of these CPUs pop back online, we get a trace
event and the code asserts.
** Affects: linaro-power-idlestat
Importance: Undecided
Status: New
** Summary changed:
- idlestat assetrts if CPUs are offline at startup
+ idlestat asserts if CPUs are offline at startup
--
You received this bug notification because you are a member of Linaro
Power Management Working Group, which is subscribed to Linaro Power
Idlestat.
Matching subscriptions: PMWG-idlestat
https://bugs.launchpad.net/bugs/1336058
Title:
idlestat asserts if CPUs are offline at startup
Status in Idlestat - optimise CPU idling:
New
Bug description:
Running idlestat on an ARM device where the CPUs are offlined when
very idle idlestat asserts because pstate is NULL:
root@ubuntu-phablet:~/idlestat# ./idlestat --trace -f trace.log -t 20
...
...
warning: P-states not supported for CPU1
warning: P-states not supported for CPU2
warning: P-states not supported for CPU3
idlestat: idlestat.c:820: idlestat_load: Assertion `datas->pstates[cpu].pstate != ((void *)0)' failed.
Aborted (core dumped)
This only occurs because on startup the CPUS 1-3 are offline and hence
we can't read the pstate info and so this is NULL for these cpus.
During the run one or more of these CPUs pop back online, we get a
trace event and the code asserts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-power-idlestat/+bug/1336058/+subscriptions
Follow ups
References