Re: [PATCH] Add ACPI and power trace points for laptop overheating

From: Hillf Danton
Date: Fri May 18 2012 - 09:27:27 EST


Hi Andi

On Thu, May 17, 2012 at 10:08 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Add trace points for ACPI power events which are important for a laptop's
> thermal: acpi throttling/pstate, ec communication, GPU overheating. Useful
> for understanding the thermal behaviour of laptops on the thermal edge.
>
> The generic power events have gpu_limit, overtemp_pstate and overtemp_throttling
> I added ACPI specific new events for EC desynchronization (which
> seems to be a common problem, but is entirely uninstrumented currently),
> and can lead to lost throttling events.
>
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> ---
> ÂDocumentation/trace/events-acpi.txt Â| Â 13 ++++++++
> ÂDocumentation/trace/events-power.txt | Â 20 +++++++++++++
> Âdrivers/acpi/Makefile        Â|  Â1 +
> Âdrivers/acpi/acpi-trace.c      Â|  Â7 ++++
> Âdrivers/acpi/ec.c          Â|  Â4 ++
> Âdrivers/acpi/processor_thermal.c   |  Â4 ++
> Âdrivers/platform/x86/intel_ips.c   |  Â4 ++
> Âinclude/trace/events/power.h     |  51 ++++++++++++++++++++++++++++++++++
> Âkernel/trace/power-traces.c     Â|  Â3 ++
> Â9 files changed, 107 insertions(+), 0 deletions(-)
> Âcreate mode 100644 Documentation/trace/events-acpi.txt
> Âcreate mode 100644 drivers/acpi/acpi-trace.c
>
[...]
> --- a/drivers/acpi/Makefile
> +++ b/drivers/acpi/Makefile
> @@ -73,3 +73,4 @@ obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
> Âobj-$(CONFIG_ACPI_IPMI) Â Â Â Â Â Â Â Â+= acpi_ipmi.o
>
> Âobj-$(CONFIG_ACPI_APEI) Â Â Â Â Â Â Â Â+= apei/
> +obj-$(CONFIG_TRACEPOINTS) Â Â Â+= acpi-trace.o
> \ No newline at end of file

For what the newline is?
--
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/