atrace: Add cpuhp trace points
Bug: 162568440 Test: take systrace Change-Id: I67f58bd0374e50c3d8aec5dc8f2391d174920c4f
This commit is contained in:
parent
635bd93613
commit
2ded52d4ea
2 changed files with 6 additions and 0 deletions
|
@ -172,6 +172,8 @@ static const TracingCategory k_categories[] = {
|
|||
{ OPT, "events/clk/clk_enable/enable" },
|
||||
{ OPT, "events/power/cpu_frequency_limits/enable" },
|
||||
{ OPT, "events/power/suspend_resume/enable" },
|
||||
{ OPT, "events/cpuhp/cpuhp_enter/enable" },
|
||||
{ OPT, "events/cpuhp/cpuhp_exit/enable" },
|
||||
} },
|
||||
{ "membus", "Memory Bus Utilization", 0, {
|
||||
{ REQ, "events/memory_bus/enable" },
|
||||
|
|
|
@ -47,6 +47,10 @@ on late-init
|
|||
chmod 0666 /sys/kernel/tracing/events/power/clock_set_rate/enable
|
||||
chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable
|
||||
chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency_limits/enable
|
||||
chmod 0666 /sys/kernel/debug/tracing/events/cpuhp/cpuhp_enter/enable
|
||||
chmod 0666 /sys/kernel/tracing/events/cpuhp/cpuhp_enter/enable
|
||||
chmod 0666 /sys/kernel/debug/tracing/events/cpuhp/cpuhp_exit/enable
|
||||
chmod 0666 /sys/kernel/tracing/events/cpuhp/cpuhp_exit/enable
|
||||
chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_frequency/enable
|
||||
chmod 0666 /sys/kernel/tracing/events/power/gpu_frequency/enable
|
||||
chmod 0666 /sys/kernel/debug/tracing/events/power/suspend_resume/enable
|
||||
|
|
Loading…
Reference in a new issue