From 1eac74fa8fdb09f0095cbd26766ec7afaacdbbd7 Mon Sep 17 00:00:00 2001 From: Brendan Jackman Date: Mon, 2 Oct 2017 13:29:10 +0100 Subject: [PATCH] trace-cmd: Enable thermal trace events by default Due to the nature of modern Android devices, in order to usefully interpret the power* events, you more and more often need to know the kernel's view of temperature too. Therefore I think enabling the thermal event group by default makes sense. --- wa/instrumentation/trace-cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/instrumentation/trace-cmd.py b/wa/instrumentation/trace-cmd.py index e2a0435d..5104f705 100644 --- a/wa/instrumentation/trace-cmd.py +++ b/wa/instrumentation/trace-cmd.py @@ -103,7 +103,7 @@ class TraceCmdInstrument(Instrument): parameters = [ Parameter('events', kind=list_of_strings, - default=['sched*', 'irq*', 'power*'], + default=['sched*', 'irq*', 'power*', 'thermal*'], global_alias='trace_events', description=""" Specifies the list of events to be traced. Each event in the