On (11/12/12 02:01), cshanahan(a)comcast.net wrote:
> hm, that's something. seems like enumerate_cpus(); failed
> because perf_bundle was NULL in cpu by the time of
> perf_events->start();
>
> call, but it did not crashed on any of enumerate_cpus()
>
> 332 perf_events = new perf_power_bundle();
> 333
> 334 if (!perf_events->add_event("power:cpu_idle")){
> 335 perf_events->add_event("power:power_start");
> 336 perf_events->add_event("power:power_end");
> 337 }
> 338 if (!perf_events->add_event("power:cpu_frequency"))
> 339 perf_events->add_event("power:power_frequency");
>
>
> so it leaves only one suspect: enumerate_cpus()
>
> 269 file.open("/proc/cpuinfo", ios::in);
> 270
> 271 if (!file)
> 272 return;
>
>
> is that happeninig all the time?
Yes. Happens all the time.
hm. this is very-very early stages of calibration process, and it's very
unlikely that powertop has done something to your system.
> a *very* stupid question - do you have /proc/cpuinfo file?
Yes, I do.
Any idea about my problem?
are you talking about WIFI button?
may I ask you to do two things
$ ls /proc/cpuinfo
and
$ cat /proc/cpuinfo
-ss