Open rju opened 1 week ago
author André van Hoorn -- Mon, 7 Apr 2014 12:51:22 +0200
Fixed in changeset:fea43df8fd856826ab3976be0242eb7f3d72e456/kieker-git
Procedure (copying could have been easier but now I know it's fine )
1. Create reference log
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $ rm kieker.log avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $ bin/logReplay.sh -i examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC/ -k true -r false
1. Determine path of reference log
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $ grep "Writing to Directory" kieker.log Finished: 'false'; Writing to Directory: '/tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER'
1. Update kieker.map
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master> $ diff /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker.map kieker.map 1,2c1 < $0=kieker.common.record.misc.KiekerMetadataRecord < $1=kieker.common.record.controlflow.OperationExecutionRecord --- > $0=kieker.common.record.OperationExecutionRecord avhAndrè van Hoorn-ThinkPad-RSS:1:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master> $ cp /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker.map kieker.map
1. Replace $0 by $1 in kieker-*.dat
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ cat /tmp/kieker-20100830-082225582-UTC-Thread-2.dat | sed s/'$0'/'$1'/g > kieker-20100830-082225582-UTC-Thread-2.dat
1. Add meta-record to kieker-*.dat
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ cp kieker-20100830-082225582-UTC-Thread-2.dat /tmp/ avhAndrè van Hoorn-ThinkPad-RSS:1:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ diff /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker-20140407-102536862-UTC-000-Thread-1.dat kieker-20100830-082225582-UTC-Thread-2.dat 1d0 < $0;-1;1.9-SNAPSHOT;KIEKER;avh-ThinkPad-RSS;1;false;0;NANOSECONDS;1 avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ echo '$0;-1;1.9-SNAPSHOT;KIEKER;avh-ThinkPad-RSS;1;false;0;NANOSECONDS;1' > /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker-20140407-102536862-UTC-000-Thread-1.dat avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ cat kieker-20100830-082225582-UTC-Thread-2.dat >> /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker-20140407-102536862-UTC-000-Thread-1.dat avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ diff /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker-20140407-102536862-UTC-000-Thread-1.dat kieker-20100830-082225582-UTC-Thread-2.dat 1d0 < $0;-1;1.9-SNAPSHOT;KIEKER;avh-ThinkPad-RSS;1;false;0;NANOSECONDS;1 avhAndrè van Hoorn-ThinkPad-RSS:1:~/git_work/kieker/examples/userguide/ch5--trace-monitoring-aspectj/testdata/kieker-20100830-082225522-UTC <master>* $ cp /tmp/kieker-20140407-102536845-UTC-avh-ThinkPad-RSS-KIEKER/kieker-20140407-102536862-UTC-000-Thread-1.dat kieker-20100830-082225582-UTC-Thread-2.dat
JIRA Issue: KIEKER-717 Update example monitoring log Original Reporter: Andre van Hoorn
To be found in examples/userguide/ch5--trace-monitoring-aspectj/testdata.
The meta-record is currently missing. Hence, e.g., the replay diff fails currently (Part of step 5 in wiki:DevGuide#CreatingaRelease). One reason is the change from $0 to $1. However, a manual inspection reveals that everything OK.
Checklist: