Commit b0b5ab42 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

ANDROID: Add dmabuf RSS trace event



Dmabuf RSS is associated with a task, or group of tasks sharing the same
mm_struct and files_struct. Any time the RSS counter is modified for a
task, or group of tasks, emit a trace event with the current value of
the dmabuf RSS counter.

This allows for fast tracking of per-process dmabuf RSS by userspace
analysis tools like Perfetto, compared to periodically obtaining
per-process dmabuf RSS from procfs.

Bug: 424646615
Bug: 441786824
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:bf7bba0186f72b869b9d6058760ba5de8bcb13ff)
Merged-In: I3218379583b451778ee6a362399fd2e409e1dbb1
Change-Id: I3218379583b451778ee6a362399fd2e409e1dbb1
parent 3ed929cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment