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: 435768786 Signed-off-by:T.J. Mercier <tjmercier@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:655fe2920b16e254b3271080737d332808b41b15) Merged-In: Icbdf952dd07818a6224c3c787d58854c72fd4825 Change-Id: Icbdf952dd07818a6224c3c787d58854c72fd4825
Loading
Please sign in to comment