Re: [ACPI] Re: system freezes for 0.2 to 0.5 seconds when reading /proc/acpi/thermal_zone/THRM/temperature

From: Sanjoy Mahajan
Date: Thu Jul 28 2005 - 10:48:19 EST


I get the same short freezes with

cat /proc/acpi/battery/*/{state,info}

and also with the 'acpi' command-line tool. I'm about to try the the
suggested kernel profiling with -mm3 and will report the results.

Meanwhile:

>>> readprofile -r
>> do i have to activate something special during kernel configuration?
>Set CONFIG_PROFILING=y

That confuses me. For readprofile support,
Documentation/basic_profiling.txt says

Add "profile=2" to the kernel command line.

For Oprofile support it says:

Configure with CONFIG_PROFILING=y and CONFIG_OPROFILE=y

The two together suggest that CONFIG_PROFILING shouldn't be needed for
readprofile.

-Sanjoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/