From 7f707e2cb5d4e3a6a097ae9d5fdb9883ee7a81e0 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 10 Dec 2009 17:01:10 -0500 Subject: runtime: print stp_alloc statistics in startup printk * runtime/alloc.c: Define DEBUG_MEM. * runtime/print.c (_stp_print_kernel_info): Reformat/rescale mem values. --- runtime/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/alloc.c') diff --git a/runtime/alloc.c b/runtime/alloc.c index 403d20ee..6c2bd66d 100644 --- a/runtime/alloc.c +++ b/runtime/alloc.c @@ -16,7 +16,7 @@ static int _stp_allocated_net_memory = 0; #define STP_ALLOC_FLAGS (GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN) -//#define DEBUG_MEM +#define DEBUG_MEM /* * If DEBUG_MEM is defined (stap -DDEBUG_MEM ...) then full memory * tracking is used. Each allocation is recorded and matched with -- cgit