Skip to content
Snippets Groups Projects
Commit f0c2f8db authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Fix package names and pathes, so Kieker instrumentation works

parent 7339ecba
Branches
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ JAVA_ARGS="${JAVA_ARGS} -Xms1G -Xmx2G"
JAVA_OPTS="${FIXED_PARAMETERS}"
LTW_ARGS="-javaagent:${AGENT} -Dorg.aspectj.weaver.showWeaveInfo=false -Daj.weaving.verbose=false -Dkieker.monitoring.skipDefaultAOPConfiguration=true -Dorg.aspectj.weaver.loadtime.configuration=${AOP}"
LTW_ARGS="-javaagent:${AGENT} -Dorg.aspectj.weaver.showWeaveInfo=true -Daj.weaving.verbose=true -Dkieker.monitoring.skipDefaultAOPConfiguration=true -Dorg.aspectj.weaver.loadtime.configuration=${AOP}"
KIEKER_ARGS="-Dlog4j.configuration=log4j.cfg -Dkieker.monitoring.name=KIEKER-BENCHMARK -Dkieker.monitoring.adaptiveMonitoring.enabled=false -Dkieker.monitoring.periodicSensorsExecutorPoolSize=0"
......@@ -152,6 +152,8 @@ function execute-experiment() {
BENCHMARK_OPTS="${JAVA_ARGS} ${LTW_ARGS} ${KIEKER_ARGS} ${kieker_parameters}"
fi
echo ${BENCHMARK}" "${BENCHMARK_OPTS}" moobench.benchmark.BenchmarkMain"
${BENCHMARK} ${BENCHMARK_OPTS} moobench.benchmark.BenchmarkMain \
--application moobench.application.MonitoredClassSimple \
--output-filename ${RAWFN}-${loop}-${recursion}-${index}.csv \
......@@ -194,7 +196,7 @@ function getSum {
function printIntermediaryResults {
for ((index=0;index<${#WRITER_CONFIG[@]};index+=1)); do
echo -n "Intermediary results $TITLE[$index] "
echo -n "Intermediary results "$TITLE[$index]" "
cat results-kieker/raw-*-${RECURSION_DEPTH}-${index}.csv | awk -F';' '{print $2}' | getSum
done
}
......
......@@ -14,7 +14,7 @@ BENCHMARK="${BASE_DIR}/benchmark/bin/benchmark"
BATCH_MODE="yes"
# in-jar locations
AOP="kieker.aop.xml"
AOP="file:"$(pwd)"/../src/META-INF/kieker.aop.xml"
# execution parameter
SLEEP_TIME=30 ## 30
......
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.aspectj.org/dtd/aspectj_1_5_0.dtd">
<aspectj>
<weaver options="">
<include within="mooBench.monitoredApplication.*"/>
<include within="moobench.application.*"/>
</weaver>
<aspects>
<aspect name="kieker.monitoring.probe.aspectj.flow.operationExecution.FullInstrumentation" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment