Profiling (cont.) Profiling Modes Wanted to gather other types of data e.g. How much memory does my program use over time? Needed a framework for profiling modes PROFMODES environment variable: bash% export PROFMODES="callgraph pchist memuse" bash% ./mozilla-instrumented bash% ls *prof mozilla-instrumented.callgraph.23277.prof mozilla-instrumented.pchist.23277.prof mozilla-instrumented.memuse.23277.prof