|
There are two types of filter rules:
-
Included packages or classes are profiled and will be shown in the call tree.
If the first filter is inclusive, no classes are profiled by default.
-
Excluded packages or classes are not profiled and will not be shown in the
call tree. If the first filter is exclusive, all other classes are profiled by default.
All calls from profiled classes are shown in the call tree regardless
of whether the called class is profiled or not. For example, if you only have one inclusive filter for the
com.mycorp. packages, and if your class com.mycorp.MyClass calls a method in
java core classes, all those calls will be measured, but their internal call structure will not be resolved.
In the call tree view, such method calls are opaque
and will be labeled with a red corner.
Package filters include all sub-packages. For example, if you have one inclusive filter with the name
com.mycorp. , it includes all classes directly in the com.mycorp. package
as well as the com.mycorp.test and the com.mycorp.test.detail packages.
Filter rules are evaluated from top to bottom, the last matching rule is applied.
For example, if you add an exclusive filter for the com.mycorp. packages, but further down
add an inclusive filter for the com.mycorp.test package, the com.mycorp.test package
is profiled while other classes in the com.mycorp. packages are not.
|