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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux