<div dir="ltr"><div>Hi Peter,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 Apr 2021 at 13:34, Peter Enderborg <<a href="mailto:peter.enderborg@sony.com">peter.enderborg@sony.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This adds a total used dma-buf memory. Details<br>
can be found in debugfs, however it is not for everyone<br>
and not always available. dma-buf are indirect allocated by<br>
userspace. So with this value we can monitor and detect<br>
userspace applications that have problems.<br></blockquote><div><br></div><div>FWIW, this won't work super well for Android where gralloc is implemented as a system service, so all graphics usage will instantly be accounted to it.</div><div><br></div><div>Cheers,</div><div>DanielĀ </div></div></div>