Bug 470021

Summary: ms_print --peak option to extract just the peak memory size
Product: [Developer tools] valgrind Reporter: Andrew Pennebaker <andrew.pennebaker>
Component: massifAssignee: Nicholas Nethercote <njn>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrew Pennebaker 2023-05-19 21:17:59 UTC
`ms_print` is incredibly verbose. I just want to extract the peak memory size via CLI, without any histograms or other jazz.

Can we please get a --peak flag for this?

As a workaround, I am scraping the output with GNU awk:

https://github.com/mcandre/valgrind-peak