Commit 0f3be428 authored by T.J. Mercier's avatar T.J. Mercier Committed by Suren Baghdasaryan
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
Change-Id: Icbdf952dd07818a6224c3c787d58854c72fd4825
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent 62e2ce28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment