Byte-Lab / JCoz

JCoz -- A Java causal profiler

Home Page:http://decave.github.io/JCoz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I cannot run the test code examples.

brian-commerzbank opened this issue · comments

Hi,
Apologies if this is a silly question, but I wanted to run the example "run-workload" and the "run-profiler", unfortunately no matter what I do I cannot get it to work, it complains about incorrect parameters (it is missing the config after absolute path to the .SO file in the agentpath part of the java command...).

It is as if I am missing some documentation on this ? The README.cmd that comes with the git dist only explains how to run the CLI ...

I get this when I try and run the workload -

make run-workload
cd src/java/src/test/java/;
java
-agentpath:/opt/devefx/jcoz-testing/master/build-64/liblagent.so
-cp $(readlink -f ../../../target/client*dependencies.jar):.
test.TestThreadSerial --fast
Missing options
usage: java -agentpath:<absolute_path_to_agent>=pkg=<package_name>_progress-point=class:line_no_end-to-end (optional)_warmup=<warmup_time_ms> (optional - default 5000 ms)
make: *** [run-workload] Error 1

It seems as if I need to configure the arguments to the agent, but I cannot see how to do this and get it to work...

Any advice much appreciated
Cheers
Brian

Hi Brian,

In case you're still looking into this. I think you may want to look into updating the agentpath parameters:

-agentpath:${BUILD_DIR}/liblagent.so=pkg=test_progress-point=test.TestThreadSerial:57

--Steve