On Thu, Dec 8, 2016 at 12:17 PM, Pratyush Anand <panand(a)redhat.com> wrote:
This tool enables few tracepoints like mm_page_alloc, mm_page_free,
module_load and module_put into the kernel and then keeps track of the peak
memory usage by a task or kernel module.
Signed-off-by: Pratyush Anand <panand(a)redhat.com>
---
Hi All,
This is an initial version of c code, which is yet to take shape of a tool,
is open for your review comments. My idea is to have a systemd service
which launches this tool as early as possible after kernel boot. It will
start tracking peak memory usage thereafter, until it receives SIGTERM
signal, which probably we can send by systemd stop service.
It can be cloned from here:
https://github.com/pratyushanand/memtrace.git