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: I74434dddacc342918cb52b1b9e2fa6679e332764
Signed-off-by:
T.J. Mercier <tjmercier@google.com>
Loading
Please sign in to comment