Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no need to set tracing/buffer to its default value
[simgrid.git] / examples / msg / trace-masterworker / trace-masterworker.tesh
1 #!/usr/bin/env tesh
2
3 p Tracing master/worker application
4 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT --cfg=tracing:yes --cfg=tracing/filename:trace-masterworker.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
9 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
10 > [4.214821] [msg_trace_masterworker/INFO] compute
11 > [4.214821] [msg_trace_masterworker/INFO] finalize
12 > [4.214821] [msg_trace_masterworker/INFO] report
13 > [4.214821] [msg_trace_masterworker/INFO] request
14 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
15 > [4.214821] [msg_trace_masterworker/INFO] msmark
16
17 p Tracing master/worker application with xml config
18 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT ${platfdir}/config_tracing.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
19 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
20 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
21 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
23 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
24 > [4.214821] [msg_trace_masterworker/INFO] compute
25 > [4.214821] [msg_trace_masterworker/INFO] finalize
26 > [4.214821] [msg_trace_masterworker/INFO] report
27 > [4.214821] [msg_trace_masterworker/INFO] request
28 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
29 > [4.214821] [msg_trace_masterworker/INFO] msmark
30
31 p Not tracing master/worker application
32 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
33
34 p Testing tracing by process
35 $ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT --cfg=tracing:yes --cfg=tracing/msg/process:yes --cfg=tracing/filename:trace-masterworker.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
36 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
37 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/msg/process' to 'yes'
38 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'trace-masterworker.trace'
39 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to 'yes'
40 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to 'yes'
41 > [4.214821] [msg_trace_masterworker/INFO] Declared tracing categories:
42 > [4.214821] [msg_trace_masterworker/INFO] compute
43 > [4.214821] [msg_trace_masterworker/INFO] finalize
44 > [4.214821] [msg_trace_masterworker/INFO] report
45 > [4.214821] [msg_trace_masterworker/INFO] request
46 > [4.214821] [msg_trace_masterworker/INFO] Declared marks:
47 > [4.214821] [msg_trace_masterworker/INFO] msmark
48
49 $ rm -rf trace-masterworker.trace