blob: 31b54658608f4232b8a1046c5e56efa9214cfa7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
Blocks {
ProbeDesc {
Name: "StartupProbe"
Provider: "LWTRACE_EXAMPLE_PROVIDER"
}
Action {
PrintToStderrAction { }
}
}
Blocks {
ProbeDesc { Name: "IterationProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Action {
LogAction {
LogTimestamp: true
MaxRecords: 2
}
}
}
Blocks {
ProbeDesc { Name: "ByrefDurationProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Action {
LogAction {
LogTimestamp: true
MaxRecords: 1
}
}
Action {
PrintToStderrAction { }
}
}
Blocks {
ProbeDesc { Name: "DurationProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Action {
LogAction {
LogTimestamp: true
MaxRecords: 1
}
}
Action {
PrintToStderrAction { }
}
}
Blocks {
ProbeDesc { Name: "ResultProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Action {
PrintToStderrAction { }
}
Action {
LogAction { LogTimestamp: true }
}
}
Blocks {
ProbeDesc { Name: "AfterInputProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Action {
StatementAction {
Type: ST_MOD
Argument { Variable: "nMod2" }
Argument { Param: "n" }
Argument { Value: "2" }
}
}
}
Blocks {
ProbeDesc { Name: "AfterInputProbe" Provider: "LWTRACE_EXAMPLE_PROVIDER" }
Predicate {
Operators {
Type: OT_EQ
Argument { Variable: "nMod2" }
Argument { Value: "0" }
}
}
Action { LogAction { } }
}
|