title: Ignoring function calls from cProfile log
body: <p>I know that it is possible to get the frequency of function calls for a particular module using the <code>pstats.print_stats('python_script.py:')</code>, however I would like to print a report of the frequencies of all invoked functions in a profiled program that do not involve a set of functions.</p>
  
  <p>For instance, say that I have <code>function1</code>, <code>function2</code>, <code>function3</code>, and <code>function4</code> (assume that this list is much larger) and that I want to print the number of times each function was invoked as long as it isn't <code>function3</code>.   Is it possible to create a list of the functions to be ignored and pass that to the <code>pstats</code> module as well as the file that I am profiling?</p>
  
  <p>Particularly, I am interested in the number of calls for all functions that do not include the previously mentioned set.  I could probably write a script to parse out the full listing of functions and ignore that set, but I feel that there may be an easier way in the pstats module.</p>