Summary: | Client requests to trigger snapshots | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | simon.hafner |
Component: | massif | Assignee: | Nicholas Nethercote <njn> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | mark |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | patch |
Running massif without automatic snapshots seems a little odd. But maybe it could be a command line flag so that it only snapshots from vgdb or through a client request? Do you have some example program that use the new client requests? Bonus points for one that can be used as new test and for documentation. |
Created attachment 130081 [details] patch For measuring memory usage in defined portions of code, it's easier to segregate them using client requests. This patch implements them. I'm not sure how to implement the flag for stopping automatic snapshots.