From d723f38fe959c7350051d16823783506cb5db92d Mon Sep 17 00:00:00 2001 From: Ioannis Ilkos Date: Fri, 24 Apr 2020 10:10:35 +0100 Subject: [PATCH] Enable tracing of the ion/ion_stat events These events supersede the ion_heap_grow / ion_heap_shrink events on 4.19+ kernels. Bug: 154302786 Test: build, run on cuttlefish with new kernel, ls -lZ /sys/kernel/tracing/events/ion/ion_stat/enable Merged-In: I262d8c3269d4261701361ad4b1bdc322f1f03969 Change-Id: I262d8c3269d4261701361ad4b1bdc322f1f03969 --- prebuilts/api/29.0/private/genfs_contexts | 2 ++ private/genfs_contexts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/prebuilts/api/29.0/private/genfs_contexts b/prebuilts/api/29.0/private/genfs_contexts index b737f604c..380d4a050 100644 --- a/prebuilts/api/29.0/private/genfs_contexts +++ b/prebuilts/api/29.0/private/genfs_contexts @@ -234,6 +234,7 @@ genfscon tracefs /events/filemap/mm_filemap_delete_from_page_cache/ u:objec genfscon tracefs /events/kmem/rss_stat/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/kmem/ion_heap_grow/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/kmem/ion_heap_shrink/ u:object_r:debugfs_tracing:s0 +genfscon tracefs /events/ion/ion_stat/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/mm_event/mm_event_record/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/task/task_rename/ u:object_r:debugfs_tracing:s0 @@ -278,6 +279,7 @@ genfscon debugfs /tracing/events/filemap/mm_filemap_delete_from_page_cache/ genfscon debugfs /tracing/events/kmem/rss_stat/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/kmem/ion_heap_grow/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/kmem/ion_heap_shrink/ u:object_r:debugfs_tracing:s0 +genfscon debugfs /tracing/events/ion/ion_stat/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/mm_event/mm_event_record/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/task/task_rename/ u:object_r:debugfs_tracing:s0 diff --git a/private/genfs_contexts b/private/genfs_contexts index d4d7fff87..b423e64f3 100644 --- a/private/genfs_contexts +++ b/private/genfs_contexts @@ -241,6 +241,7 @@ genfscon tracefs /events/filemap/mm_filemap_delete_from_page_cache/ u:objec genfscon tracefs /events/kmem/rss_stat/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/kmem/ion_heap_grow/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/kmem/ion_heap_shrink/ u:object_r:debugfs_tracing:s0 +genfscon tracefs /events/ion/ion_stat/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/mm_event/mm_event_record/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0 genfscon tracefs /events/task/task_rename/ u:object_r:debugfs_tracing:s0 @@ -285,6 +286,7 @@ genfscon debugfs /tracing/events/filemap/mm_filemap_delete_from_page_cache/ genfscon debugfs /tracing/events/kmem/rss_stat/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/kmem/ion_heap_grow/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/kmem/ion_heap_shrink/ u:object_r:debugfs_tracing:s0 +genfscon debugfs /tracing/events/ion/ion_stat/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/mm_event/mm_event_record/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/oom/oom_score_adj_update/ u:object_r:debugfs_tracing:s0 genfscon debugfs /tracing/events/task/task_rename/ u:object_r:debugfs_tracing:s0