diff options
Diffstat (limited to 'runtime/print.c')
-rw-r--r-- | runtime/print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/print.c b/runtime/print.c index eaea688d..d305dee8 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -55,6 +55,7 @@ int _stp_print_init (void) Stp_pbuf = alloc_percpu(_stp_pbuf); if (unlikely(Stp_pbuf == 0)) return -1; + _stp_allocated_memory += sizeof(_stp_pbuf) * num_online_cpus(); return 0; } |