[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBCwLOxQwfmppxxJjfJzEJ+RSoL4MaE9wKtSrotKe2J56w@mail.gmail.com>
Date: Fri, 18 May 2012 21:27:29 +0800
From: Hillf Danton <dhillf@...il.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-acpi@...r.kernel.org, lenb@...nel.org,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH] Add ACPI and power trace points for laptop overheating
Hi Andi
On Thu, May 17, 2012 at 10:08 PM, Andi Kleen <andi@...stfloor.org> wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> 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@...ux.intel.com>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists