commit 7e520bc6bf3e1ae0190033a5122e73042078d16a from: Matthias L. Jugel via: GitHub date: Tue Feb 13 19:49:12 2018 UTC update format commit - 59573b9bf654f0fc5a3554d43076efa0ad080a1f commit + 7e520bc6bf3e1ae0190033a5122e73042078d16a blob - dd67d4013889a2b6d900d8b50217decfa0fb57f3 blob + 95bd134181e8918044f066de53b7d3ddf9670b13 --- README.md +++ README.md @@ -16,12 +16,15 @@ The script takes those lines and converts them into a information and also calculates the currently allocated heap: ``` -== 00000050 bytes +50 (#m:0x20003080;0x182f-50) -== 00000000 bytes -50 (#f:0x0;0x183f-0x20003080) -== 00000050 bytes +50 (#m:0x20003080;0x182f-50) -== 00000000 bytes -50 (#f:0x0;0x183f-0x20003080) -== 00000050 bytes +50 (#m:0x20003080;0x182f-50) -== 00000000 bytes -50 (#f:0x0;0x183f-0x20003080) +$ python bin/memtrace.py test.log test +RESETTING tracer on 'test' + +== (001) 50 [ 32] +50 (#m:0x20003080;0x182f-50) +== (000) 0 [ 0] -50 (#f:0x0;0x183f-0x20003080) +== (001) 50 [ 32] +50 (#m:0x20003080;0x182f-50) +== (000) 0 [ 0] -50 (#f:0x0;0x183f-0x20003080) +== (001) 50 [ 32] +50 (#m:0x20003080;0x182f-50) +== (000) 0 [ 0] -50 (#f:0x0;0x183f-0x20003080) ``` Even in color :-):