Skip to content

Instantly share code, notes, and snippets.

@pstef
Created March 18, 2013 19:13
Show Gist options
  • Save pstef/5189951 to your computer and use it in GitHub Desktop.
Save pstef/5189951 to your computer and use it in GitHub Desktop.
Toggle Valgrind data collection on entry/exit of function
valgrind --tool=callgrind --toggle-collect=function ./program
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment