Enabling Stack Filtering
Filtering the stack backtrace helps you focus on application stack frames rather than stack frames specific to the OpenMP runtime library, which can clutter the Call Stack view. Figure 113 displays an unfiltered call stack on the left, compared to a filtered stack on the right.
Figure 113, Call Stack Filtering
Enable or disable stack trace filtering using one of the following methods:
*Click the transform button () in the Call Stack view to toggle the transform on or off,
or
*Enter one of the following commands in the Command Line view:
dstacktransform enable
dstacktransform disable
(This command can also be used to list, add, or delete stack transformations.)
or
*Use a state variable to control the filtering of the stack:
dset TV::stack_trace_transform_enabled true
dset TV::stack_trace_transform_enabled false (default)
Any of these methods control all defined stack transforms, not just for OpenMP, but, for example, Python and user-defined transformations.