Hi,
I want to trace a certain package (instead of sampling) . If i trace the full JVM then my overhead is to high. So my goal is to instrument only a certain package. I saw that you can specify the scope with a filter in the file
~/.yjp/bci_filter.txt
But the syntax to set a filter is not complete clear to me. So if i want to instrument ONLY the package e.g
nl.mycompanyname.xyz.module.*
Do i need to add this line into the bci_filter file
+nl.mycompanyname.xyz.module.*
And restart my profiled application ?
Thanks on forehand already for clarification
Regards,
Arjan
like
Trace with limited scope , profile only one package
-
- Posts: 4
- Joined: Fri Jul 09, 2021 1:02 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Trace with limited scope , profile only one package
Hello Arjan
Please specify two lines
*
+nl.mycompanyname.xyz.module.*
and restart the profiled application.
Best regards,
Anton
Please specify two lines
*
+nl.mycompanyname.xyz.module.*
and restart the profiled application.
Best regards,
Anton
-
- Posts: 4
- Joined: Fri Jul 09, 2021 1:02 pm
Re: Trace with limited scope , profile only one package
Hi Anton,
Thanks for all details ! It works now as expected
Regards,
Arjan
Thanks for all details ! It works now as expected
Regards,
Arjan