Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 806ee9ef authored by Primiano Tucci's avatar Primiano Tucci
Browse files

atrace: move to rss_stat_throttled

rss_stat is now unthrottled and just going to spam
the trace. rss_stat_throttled is the equivalent of
rss_stat in older kernels.
Note: this will not work on older kernels. I am
not aware of any active use of rss_stat from atrace
(i.e. not going through perfetto) so it's not worth
having a fallback path here for a kernel path that is
going to disappear over time.

Design doc: go/rss-stat-throttled

Bug: 145972256
Change-Id: I0912eca3c15e1ff5f2201c2a66261b7a9b7247a4
parent 7926d52f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -239,7 +239,7 @@ static const TracingCategory k_categories[] = {
    } },
    { "memory",  "Memory", 0, {
        { OPT,      "events/mm_event/mm_event_record/enable" },
        { OPT,      "events/kmem/rss_stat/enable" },
        { OPT,      "events/synthetic/rss_stat_throttled/enable" },
        { OPT,      "events/kmem/ion_heap_grow/enable" },
        { OPT,      "events/kmem/ion_heap_shrink/enable" },
        { OPT,      "events/ion/ion_stat/enable" },