Hi Lei,
There's no need to enclose the items in the filters.txt file in angle brackets. Your filters.txt file should look as follows:
org.jext* * INCLUDE
* * EXCLUDE
To ensure that your filtering is being done properly, check your trace.xml file and make sure profiling data for classes that are not in the org.jext* package are not collected. There's also no need for a split symbol. Each filtering criteria has to be specified on a new line as indicated above. This is probably why your profiling takes too long, you're pretty much profiling everything.
P.S. You can import your trace.xml file in the workbench by selecting file -> import -> Profiling and Logging -> Profiling file.
As I said in my previous mail, you can also send your profiling data directly to the workbench and generate reports afterwards.
Regards,
Navid Mehregani
Problem Determination Tools
(905) 413-3664 | [EMAIL PROTECTED]
"Lei Hu(Larry)"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 13/10/2006 02:30 AM
|
|
Hi, Navid,
Thanks for you answering my questions so quickly. Your support is so
important for my research work. In your last email, you suggested me to use
Agent Controller , because it is faster than the Integrated Agent. So I
tried it today. After I installed the Agent Controller, I did following
these steps:
1. Start an Agent Controller as an application
2. Generate a filter file in c:\filters.txt , the content of the file is as
follows:
<org.jext*> <*> <INCLUDE>;
<*> <*> <EXCLUDE>
P.S. I am not sure the split symbol should be semicolon or comma.
3. Invocate the Java Profiler from the command line like
java -XrunpiAgent:server=standalone,filters=c:\filters.txt,file=c:\trace.xml,
-classpath
d:\jext5\lib\jython-2.1.jar;d:\jext5\lib\dawn-1.1.1.jar;d:\jext5\lib\jext-5.0.jar;
org.jext.Jext
After these steps, the system became very slowly, and the trace.xml file was
becoming larger and larger. At last I have to kill the process of java
profiler.
Is any problem in my steps?
Thanks.
Lei Hu
Dept. of Computing & Software
McMaster University
Tel: 1-905-541-7882
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev