summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/linux/procinfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/compat/linux/procinfo.c b/compat/linux/procinfo.c
index 15a89676c7..62f8aaed4c 100644
--- a/compat/linux/procinfo.c
+++ b/compat/linux/procinfo.c
@@ -32,8 +32,12 @@ void trace2_collect_process_info(enum trace2_process_info_reason reason)
if (!trace2_is_enabled())
return;
- /* someday we may want to write something extra here, but not today */
if (reason == TRACE2_PROCESS_INFO_EXIT)
+ /*
+ * The Windows version of this calls its
+ * get_peak_memory_info() here. We may want to insert
+ * similar process-end statistics here in the future.
+ */
return;
if (reason == TRACE2_PROCESS_INFO_STARTUP) {