Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trace2: report peak memory usage of the process
[gitweb.git]
/
trace2.c
diff --git
a/trace2.c
b/trace2.c
index 490b3f071e05ea921a92a5fab888683fca1fcf4d..6baa65cdf9aee65ff6ed5def968666800211e8e1 100644
(file)
--- a/
trace2.c
+++ b/
trace2.c
@@
-213,6
+213,8
@@
int trace2_cmd_exit_fl(const char *file, int line, int code)
if (!trace2_enabled)
return code;
+ trace2_collect_process_info(TRACE2_PROCESS_INFO_EXIT);
+
tr2main_exit_code = code;
us_now = getnanotime() / 1000;