Merge "Add ion/ion_stat to the atrace memory category"

This commit is contained in:
Treehugger Robot 2020-04-24 08:54:33 +00:00 committed by Gerrit Code Review
commit 1a4d480a77
2 changed files with 3 additions and 0 deletions

View file

@ -237,6 +237,7 @@ static const TracingCategory k_categories[] = {
{ OPT, "events/kmem/rss_stat/enable" },
{ OPT, "events/kmem/ion_heap_grow/enable" },
{ OPT, "events/kmem/ion_heap_shrink/enable" },
{ OPT, "events/ion/ion_stat/enable" },
} },
};

View file

@ -107,6 +107,8 @@ on late-init
chmod 0666 /sys/kernel/tracing/events/kmem/ion_heap_grow/enable
chmod 0666 /sys/kernel/debug/tracing/events/kmem/ion_heap_shrink/enable
chmod 0666 /sys/kernel/tracing/events/kmem/ion_heap_shrink/enable
chmod 0666 /sys/kernel/debug/tracing/events/ion/ion_stat/enable
chmod 0666 /sys/kernel/tracing/events/ion/ion_stat/enable
chmod 0666 /sys/kernel/debug/tracing/events/mm_event/mm_event_record/enable
chmod 0666 /sys/kernel/tracing/events/mm_event/mm_event_record/enable
chmod 0666 /sys/kernel/debug/tracing/events/signal/signal_generate/enable