[PATCH v3] staging: android: ion: Add per-heap counters

Greg KH gregkh at linuxfoundation.org
Tue Sep 18 17:50:27 UTC 2018


On Tue, Sep 11, 2018 at 02:29:19PM +0300, Alexey Skidanov wrote:
> Heap statistics have been removed and currently even basics statistics
> are missing.
> 
> This patch creates per heap debugfs directory /sys/kernel/debug/<heap_name>
> and adds the following counters:
> - the number of allocated buffers;
> - the number of allocated bytes;
> - the number of allocated bytes watermark.
> 
> Signed-off-by: Alexey Skidanov <alexey.skidanov at intel.com>
> ---

It would be great to get an ack from some of the ion developers...

{hint}



More information about the devel mailing list