diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-12-10 17:01:10 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-12-10 17:01:10 -0500 |
commit | 7f707e2cb5d4e3a6a097ae9d5fdb9883ee7a81e0 (patch) | |
tree | 09654b74972f6938082d6810e257995277c930f5 /runtime/alloc.c | |
parent | a6b3c131a27bbf3533d7ce52bb320698edb60f9c (diff) | |
download | systemtap-steved-7f707e2cb5d4e3a6a097ae9d5fdb9883ee7a81e0.tar.gz systemtap-steved-7f707e2cb5d4e3a6a097ae9d5fdb9883ee7a81e0.tar.xz systemtap-steved-7f707e2cb5d4e3a6a097ae9d5fdb9883ee7a81e0.zip |
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.
Diffstat (limited to 'runtime/alloc.c')
-rw-r--r-- | runtime/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |