From 4b25c0a65a264318ed527b0bf3e82e0e8042a654 Mon Sep 17 00:00:00 2001 From: Sidath Senanayake Date: Wed, 26 Jun 2019 15:46:53 +0100 Subject: [PATCH] Allow perfetto to access gpu_frequency tracepoint in user This will allow Perfetto to capture GPU frequency changes on the target, which is useful to graphics developers using Perfetto to profile graphics HW usage. Bug: 136062452 Change-Id: Idb7870b2f674f1359ef3b4487dbeff190b394248 --- private/genfs_contexts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/private/genfs_contexts b/private/genfs_contexts index 2a8f7ad03..3ad0edbd8 100644 --- a/private/genfs_contexts +++ b/private/genfs_contexts @@ -214,6 +214,7 @@ genfscon tracefs /events/power/cpu_frequency/ u:objec genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/power/clock_set_rate/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/power/cpu_frequency_limits/ u:object_r:debugfs_tracing:s0 +genfscon tracefs /events/power/gpu_frequency/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/cpufreq_interactive/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/vmscan/mm_vmscan_direct_reclaim_begin/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/vmscan/mm_vmscan_direct_reclaim_end/ u:object_r:debugfs_tracing:s0 @@ -255,6 +256,7 @@ genfscon debugfs /tracing/events/power/cpu_frequency/ genfscon debugfs /tracing/events/power/cpu_idle/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/power/clock_set_rate/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/power/cpu_frequency_limits/ u:object_r:debugfs_tracing:s0 +genfscon debugfs /tracing/events/power/gpu_frequency/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/cpufreq_interactive/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/vmscan/mm_vmscan_direct_reclaim_begin/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/vmscan/mm_vmscan_direct_reclaim_end/ u:object_r:debugfs_tracing:s0