As you analyze memory profiling data, you can create filters using the Filter Manager dialog box. You can also use the Filter commands on the shortcut menu in the Call Graph and Function List View, and in the Function Detail window. You can filter data by class or method name, or by character string pattern; for example, methods whose names begin with the character string "myClass".
When you create new filters, Purify saves them with any existing filters in exeName_exe.mft. For details about filter file names and their locations, click .
Purify also provides a command-line option for controlling the use of filters. This is especially useful in test harnesses and scripts. For example, you might add this line to the beginning of a test script for a .NET managed code program:
purify /SaveTextData /FilterFiles=dotNetSample_exe.mft /net dotNetSample.exe
This line instructs Purify to profile the managed program dotNetSample.exe using the filters contained in the filter file dotNetSample_exe.mft, and to save the memory profiling data to a text file without opening any Purify windows.
Note:
§ Filters work only on methods, they cannot be applied to objects.
(C) Copyright IBM Corporation 1992, 2010.