Skip to content
Commit 4073536c authored by Alexey Skidanov's avatar Alexey Skidanov Committed by Greg Kroah-Hartman
Browse files

staging: android: ion: Add per-heap counters



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: default avatarAlexey Skidanov <alexey.skidanov@intel.com>
Acked-by: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 91e24a4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment