Project

General

Profile

Bug #487 » ses9_terminal_log.log

log file for session "ses9" - Tan le tran, 03/27/2013 03:20 PM

 
1
[SC-1:Xen43 Wed Mar 27 13:51:34/cluster/temp/log] #
2
[SC-1:Xen43 Wed Mar 27 13:51:34/cluster/temp/log] #
3
[SC-1:Xen43 Wed Mar 27 13:51:34/cluster/temp/log] #        export TC=ses9
4
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #
5
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #        ps -ef |egrep 'lttng'
6
       lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
7

    
8
       lttng create $TC -U net://192.168.0.1:53000:53001/./
9
       lttng list
10
       sleep 1
11
       lttng enable-channel chan1 -u --buffers-uid
12
       sleep 1
13
       lttng enable-event -s $TC -u -c chan1 com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB
14
       sleep 1
15
       lttng list $TC
16
root     22946     1  0 13:51 ?        00:00:00 lttng-sessiond -vvv
17
root     23032  4479  0 13:51 pts/1    00:00:00 egrep lttng
18
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #        lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
19
[5] 23033
20
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #
21
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #        lttng create $TC -U net://192.168.0.1:53000:53001/./
22
       sleep 1
23
Session ses9 created.
24
Traces will be written in net://192.168.0.1:53000:53001/./
25
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #        lttng list
26
Available tracing sessions:
27
  1) ses9 (net://192.168.0.1:53000/./ [data: 5343]) [inactive]
28

    
29
Use lttng list <session_name> for more details
30
[SC-1:Xen43 Wed Mar 27 13:51:50/cluster/temp/log] #        sleep 1
31
       lttng start;
32
       sleep 1
33
       lttng list $TC
34
       sleep 1
35
       netstat -etanp | head -n 2 ; netstat -etanp |egrep 'lttng'
36
       sleep 1
37
       lttng list -u
38
       sleep 1
39
       /home/test_apps/TestApp_type1 4444 np &
40
       sleep 1
41
       lttng list -u
42
       dir -R  /cluster/temp/log/$TC
43
       sleep 5
44
       dir -R  /cluster/temp/log/$TC
45
[SC-1:Xen43 Wed Mar 27 13:51:51/cluster/temp/log] #        lttng enable-channel chan1 -u --buffers-uid
46
UST channel chan1 enabled for session ses9
47
[SC-1:Xen43 Wed Mar 27 13:51:51/cluster/temp/log] #        sleep 1
48
[SC-1:Xen43 Wed Mar 27 13:51:52/cluster/temp/log] #        lttng enable-event -s $TC -u -c chan1 com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB
49
UST event com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB created in channel chan1
50
[SC-1:Xen43 Wed Mar 27 13:51:52/cluster/temp/log] #        sleep 1
51
[SC-1:Xen43 Wed Mar 27 13:51:53/cluster/temp/log] #        lttng list $TC
52
Tracing session ses9: [inactive]
53
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
54

    
55
=== Domain: UST global ===
56

    
57
Channels:
58
-------------
59
- chan1: [enabled]
60

    
61
    Attributes:
62
      overwrite mode: 0
63
      subbufers size: 4096
64
      number of subbufers: 4
65
      switch timer interval: 0
66
      read timer interval: 200000
67
      output: mmap()
68

    
69
    Events:
70
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (type: tracepoint) [enabled]
71

    
72
[SC-1:Xen43 Wed Mar 27 13:51:53/cluster/temp/log] #        sleep 1
73
[SC-1:Xen43 Wed Mar 27 13:51:54/cluster/temp/log] #        lttng start;
74
Tracing started for session ses9
75
[SC-1:Xen43 Wed Mar 27 13:51:54/cluster/temp/log] #        sleep 1
76
[SC-1:Xen43 Wed Mar 27 13:51:55/cluster/temp/log] #        lttng list $TC
77
Tracing session ses9: [active]
78
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
79

    
80
=== Domain: UST global ===
81

    
82
Channels:
83
-------------
84
- chan1: [enabled]
85

    
86
    Attributes:
87
      overwrite mode: 0
88
      subbufers size: 4096
89
      number of subbufers: 4
90
      switch timer interval: 0
91
      read timer interval: 200000
92
      output: mmap()
93

    
94
    Events:
95
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (type: tracepoint) [enabled]
96

    
97
[SC-1:Xen43 Wed Mar 27 13:51:55/cluster/temp/log] #        sleep 1
98
[SC-1:Xen43 Wed Mar 27 13:51:56/cluster/temp/log] #        netstat -etanp | head -n 2 ; netstat -etanp |egrep 'lttng'
99
Active Internet connections (servers and established)
100
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
101
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312931740  23033/lttng-relayd
102
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312931741  23033/lttng-relayd
103
tcp        0      0 192.168.0.1:53000       192.168.0.1:48215       ESTABLISHED 0          312931744  23033/lttng-relayd
104
tcp        0      0 192.168.0.1:42922       192.168.0.1:53001       ESTABLISHED 0          312930727  23043/lttng-consume
105
tcp        0      0 192.168.0.1:48215       192.168.0.1:53000       ESTABLISHED 0          312932576  23043/lttng-consume
106
tcp        0      0 192.168.0.1:53001       192.168.0.1:42922       ESTABLISHED 0          312931745  23033/lttng-relayd
107
[SC-1:Xen43 Wed Mar 27 13:51:56/cluster/temp/log] #        sleep 1
108
[SC-1:Xen43 Wed Mar 27 13:51:57/cluster/temp/log] #        lttng list -u
109
UST events:
110
-------------
111

    
112
PID: 19599 - Name: /home/test_apps/TestApp_type1
113
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
114
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
115
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
116
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
117
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
118
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
119
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
120
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
121
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
122
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
123
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
124
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
125

    
126
[SC-1:Xen43 Wed Mar 27 13:51:57/cluster/temp/log] #        sleep 1
127
[SC-1:Xen43 Wed Mar 27 13:51:58/cluster/temp/log] #        /home/test_apps/TestApp_type1 4444 np &
128
[6] 23084
129
[SC-1:Xen43 Wed Mar 27 13:51:58/cluster/temp/log] #        sleep 1
130
[SC-1:Xen43 Wed Mar 27 13:51:59/cluster/temp/log] #        lttng list -u
131
UST events:
132
-------------
133

    
134
PID: 19599 - Name: /home/test_apps/TestApp_type1
135
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
136
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
137
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
138
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
139
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
140
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
141
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
142
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
143
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
144
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
145
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
146
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
147

    
148
PID: 23084 - Name: /home/test_apps/TestApp_type1
149
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
150
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
151
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
152
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
153
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
154
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
155
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
156
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
157
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
158
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
159
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
160
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
161

    
162
[SC-1:Xen43 Wed Mar 27 13:51:59/cluster/temp/log] #        dir -R  /cluster/temp/log/$TC
163
/cluster/temp/log/ses9:
164
total 4
165
drwxr-x--- 3 root root 4096 Mar 27 13:51 SC-1
166

    
167
/cluster/temp/log/ses9/SC-1:
168
total 4
169
drwxr-x--- 3 root root 4096 Mar 27 13:51 ust
170

    
171
/cluster/temp/log/ses9/SC-1/ust:
172
total 4
173
drwxr-x--- 3 root root 4096 Mar 27 13:51 uid
174

    
175
/cluster/temp/log/ses9/SC-1/ust/uid:
176
total 4
177
drwxr-x--- 3 root root 4096 Mar 27 13:51 0
178

    
179
/cluster/temp/log/ses9/SC-1/ust/uid/0:
180
total 4
181
drwxr-x--- 2 root root 4096 Mar 27 13:51 64-bit
182

    
183
/cluster/temp/log/ses9/SC-1/ust/uid/0/64-bit:
184
total 0
185
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_3
186
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_2
187
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_1
188
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_0
189
-rwxr-xr-x 1 root root 0 Mar 27 13:51 metadata
190
[SC-1:Xen43 Wed Mar 27 13:51:59/cluster/temp/log] #        sleep 5
191
[SC-1:Xen43 Wed Mar 27 13:52:04/cluster/temp/log] #        dir -R  /cluster/temp/log/$TC
192
/cluster/temp/log/ses9:
193
total 4
194
drwxr-x--- 3 root root 4096 Mar 27 13:51 SC-1
195

    
196
/cluster/temp/log/ses9/SC-1:
197
total 4
198
drwxr-x--- 3 root root 4096 Mar 27 13:51 ust
199

    
200
/cluster/temp/log/ses9/SC-1/ust:
201
total 4
202
drwxr-x--- 3 root root 4096 Mar 27 13:51 uid
203

    
204
/cluster/temp/log/ses9/SC-1/ust/uid:
205
total 4
206
drwxr-x--- 3 root root 4096 Mar 27 13:51 0
207

    
208
/cluster/temp/log/ses9/SC-1/ust/uid/0:
209
total 4
210
drwxr-x--- 2 root root 4096 Mar 27 13:51 64-bit
211

    
212
/cluster/temp/log/ses9/SC-1/ust/uid/0/64-bit:
213
total 0
214
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_3
215
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_2
216
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_1
217
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_0
218
-rwxr-xr-x 1 root root 0 Mar 27 13:51 metadata
219
[SC-1:Xen43 Wed Mar 27 13:52:04/cluster/temp/log] # dir ses9/SC-1/ust/uid/0/64-bit/
220
chan1_0   chan1_1   chan1_2   chan1_3   metadata
221
[SC-1:Xen43 Wed Mar 27 13:52:04/cluster/temp/log] # dir ses9/SC-1/ust/uid/0/64-bit/
222
total 0
223
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_3
224
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_2
225
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_1
226
-rwxr-xr-x 1 root root 0 Mar 27 13:51 chan1_0
227
-rwxr-xr-x 1 root root 0 Mar 27 13:51 metadata
228
[SC-1:Xen43 Wed Mar 27 13:52:26/cluster/temp/log] #
229
[SC-1:Xen43 Wed Mar 27 13:52:28/cluster/temp/log] #
230
[SC-1:Xen43 Wed Mar 27 13:52:28/cluster/temp/log] # lttng stop
231
Waiting for data availability
232
Tracing stopped for session ses9
233
[SC-1:Xen43 Wed Mar 27 13:52:32/cluster/temp/log] # dir ses9/SC-1/ust/uid/0/64-bit/
234
total 20
235
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 metadata
236
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_3
237
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_2
238
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_1
239
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_0
240
[SC-1:Xen43 Wed Mar 27 13:52:33/cluster/temp/log] #
241
[SC-1:Xen43 Wed Mar 27 13:52:34/cluster/temp/log] # more ses9/SC-1/ust/uid/0/64-bit/metadata
242
W?uX>?~?H?7S[??
243
typealias integer { size = 16; align = 8; signed = false; } := uint16_t;
244
typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
245
typealias integer { size = 64; align = 8; signed = false; } := uint64_t;
246
typealias integer { size = 64; align = 8; signed = false; } := unsigned long;
247
typealias integer { size = 5; align = 1; signed = false; } := uint5_t;
248
typealias integer { size = 27; align = 1; signed = false; } := uint27_t;
249

    
250
trace {
251
        major = 1;
252
        minor = 8;
253
        uuid = "11583efe-7eb0-48ee-af37-535b04b5ac86";
254
        byte_order = le;
255
        packet.header := struct {
256
                uint32_t magic;
257
                uint8_t  uuid[16];
258
                uint32_t stream_id;
259
        };
260
};
261

    
262
env {
263
        hostname = "SC-1";
264
        domain = "ust";
265
        tracer_name = "lttng-ust";
266
        tracer_major = 2;
267
        tracer_minor = 1;
268
        tracer_patchlevel = 0;
269
        vpid = 19599;
270
        procname = "TestApp_type1";
271
};
272

    
273
clock {
274
        name = monotonic;
275
        uuid = "7c002362-f7ce-4efe-a709-602ba5f131fb";
276
        description = "Monotonic Clock";
277
        freq = 1000000000; /* Frequency, in Hz */
278
        /* clock value offset from Epoch is: offset * (1/freq) */
279
        offset = 1362003185089525639;
280
};
281

    
282
typealias integer {
283
        size = 27; align = 1; signed = false;
284
        map = clock.monotonic.value;
285
} := uint27_clock_monotonic_t;
286

    
287
typealias integer {
288
        size = 32; align = 8; signed = false;
289
        map = clock.monotonic.value;
290
} := uint32_clock_monotonic_t;
291

    
292
typealias integer {
293
        size = 64; align = 8; signed = false;
294
        map = clock.monotonic.value;
295
} := uint64_clock_monotonic_t;
296

    
297
struct packet_context {
298
        uint64_clock_monotonic_t timestamp_begin;
299
        uint64_clock_monotonic_t timestamp_end;
300
        uint64_t content_size;
301
        uint64_t packet_size;
302
        unsigned long events_discarded;
303
        uint32_t cpu_id;
304
};
305

    
306
struct event_header_compact {
307
        enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
308
        variant <id> {
309
                struct {
310
                        uint27_clock_monotonic_t timestamp;
311
                } compact;
312
                struct {
313
                        uint32_t id;
314
                        uint64_clock_monotonic_t timestamp;
315
                } extended;
316
        } v;
317
} align(8);
318

    
319
struct event_header_large {
320
        enum : uint16_t { compact = 0 ... 65534, extended = 65535 } id;
321
        variant <id> {
322
                struct {
323
                        uint32_clock_monotonic_t timestamp;
324
                } compact;
325
                struct {
326
                        uint32_t id;
327
                        uint64_clock_monotonic_t timestamp;
328
                } extended;
329
        } v;
330
} align(8);
331

    
332
event {
333
        name = "com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB";
334
        id = 0;
335
        stream_id = 0;
336
        loglevel = 9;
337
        fields := struct {
338
                string _my_Time;
339
        };
340
};
341

    
342
stream {
343
        id = 0;
344
        event.header := struct event_header_compact;
345
        packet.context := struct packet_context;
346
};
347

    
348

    
349

    
350

    
351
[SC-1:Xen43 Wed Mar 27 13:52:44/cluster/temp/log] # dir ses9/SC-1/ust/uid/0/64-bit/
352
total 20
353
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 metadata
354
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_3
355
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_2
356
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_1
357
-rwxr-xr-x 1 root root 4096 Mar 27 13:52 chan1_0
358
[SC-1:Xen43 Wed Mar 27 13:52:48/cluster/temp/log] #
359
[SC-1:Xen43 Wed Mar 27 13:52:48/cluster/temp/log] #
360
[SC-1:Xen43 Wed Mar 27 13:52:49/cluster/temp/log] # lttng destroy
361
Session ses9 destroyed
362
[SC-1:Xen43 Wed Mar 27 13:52:54/cluster/temp/log] #
363
[SC-1:Xen43 Wed Mar 27 13:52:56/cluster/temp/log] #
364
[SC-1:Xen43 Wed Mar 27 13:52:56/cluster/temp/log] # lttng list
365
Currently no available tracing session
366
[SC-1:Xen43 Wed Mar 27 13:52:58/cluster/temp/log] #
367
[SC-1:Xen43 Wed Mar 27 13:52:59/cluster/temp/log] # dir ses9/SC-1/ust/uid/0/64-bit/
368
total 40
369
-rwxr-xr-x 1 root root 8192 Mar 27 13:52 metadata
370
-rwxr-xr-x 1 root root 8192 Mar 27 13:52 chan1_3
371
-rwxr-xr-x 1 root root 8192 Mar 27 13:52 chan1_2
372
-rwxr-xr-x 1 root root 8192 Mar 27 13:52 chan1_1
373
-rwxr-xr-x 1 root root 8192 Mar 27 13:52 chan1_0
374
[SC-1:Xen43 Wed Mar 27 13:53:01/cluster/temp/log] #
375
[SC-1:Xen43 Wed Mar 27 13:53:03/cluster/temp/log] #
376
[SC-1:Xen43 Wed Mar 27 13:53:03/cluster/temp/log] # more ses9/SC-1/ust/uid/0/64-bit/metadata
377
W?uX>?~?H?7S[??
378
typealias integer { size = 16; align = 8; signed = false; } := uint16_t;
379
typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
380
typealias integer { size = 64; align = 8; signed = false; } := uint64_t;
381
typealias integer { size = 64; align = 8; signed = false; } := unsigned long;
382
typealias integer { size = 5; align = 1; signed = false; } := uint5_t;
383
typealias integer { size = 27; align = 1; signed = false; } := uint27_t;
384

    
385
trace {
386
        major = 1;
387
        minor = 8;
388
        uuid = "11583efe-7eb0-48ee-af37-535b04b5ac86";
389
        byte_order = le;
390
        packet.header := struct {
391
                uint32_t magic;
392
                uint8_t  uuid[16];
393
                uint32_t stream_id;
394
        };
395
};
396

    
397
env {
398
        hostname = "SC-1";
399
        domain = "ust";
400
        tracer_name = "lttng-ust";
401
        tracer_major = 2;
402
        tracer_minor = 1;
403
        tracer_patchlevel = 0;
404
        vpid = 19599;
405
        procname = "TestApp_type1";
406
};
407

    
408
clock {
409
        name = monotonic;
410
        uuid = "7c002362-f7ce-4efe-a709-602ba5f131fb";
411
        description = "Monotonic Clock";
412
        freq = 1000000000; /* Frequency, in Hz */
413
        /* clock value offset from Epoch is: offset * (1/freq) */
414
        offset = 1362003185089525639;
415
};
416

    
417
typealias integer {
418
        size = 27; align = 1; signed = false;
419
        map = clock.monotonic.value;
420
} := uint27_clock_monotonic_t;
421

    
422
typealias integer {
423
        size = 32; align = 8; signed = false;
424
        map = clock.monotonic.value;
425
} := uint32_clock_monotonic_t;
426

    
427
typealias integer {
428
        size = 64; align = 8; signed = false;
429
        map = clock.monotonic.value;
430
} := uint64_clock_monotonic_t;
431

    
432
struct packet_context {
433
        uint64_clock_monotonic_t timestamp_begin;
434
        uint64_clock_monotonic_t timestamp_end;
435
        uint64_t content_size;
436
        uint64_t packet_size;
437
        unsigned long events_discarded;
438
        uint32_t cpu_id;
439
};
440

    
441
struct event_header_compact {
442
        enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
443
        variant <id> {
444
                struct {
445
                        uint27_clock_monotonic_t timestamp;
446
                } compact;
447
                struct {
448
                        uint32_t id;
449
                        uint64_clock_monotonic_t timestamp;
450
                } extended;
451
        } v;
452
} align(8);
453

    
454
struct event_header_large {
455
        enum : uint16_t { compact = 0 ... 65534, extended = 65535 } id;
456
        variant <id> {
457
                struct {
458
                        uint32_clock_monotonic_t timestamp;
459
                } compact;
460
                struct {
461
                        uint32_t id;
462
                        uint64_clock_monotonic_t timestamp;
463
                } extended;
464
        } v;
465
} align(8);
466

    
467
event {
468
        name = "com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB";
469
        id = 0;
470
        stream_id = 0;
471
        loglevel = 9;
472
        fields := struct {
473
                string _my_Time;
474
        };
475
};
476

    
477
stream {
478
        id = 0;
479
        event.header := struct event_header_compact;
480
        packet.context := struct packet_context;
481
};
482

    
483

    
484

    
485

    
486

    
487

    
488

    
489

    
490

    
491

    
492
[SC-1:Xen43 Wed Mar 27 13:53:18/cluster/temp/log] #
493
[SC-1:Xen43 Wed Mar 27 13:53:19/cluster/temp/log] # pkill relayd
494
[SC-1:Xen43 Wed Mar 27 13:53:24/cluster/temp/log] #
495
[5]-  Done                    lttng-relayd -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001 -o /cluster/temp/log/$TC
496
[SC-1:Xen43 Wed Mar 27 13:53:24/cluster/temp/log] #
497
[SC-1:Xen43 Wed Mar 27 13:53:25/cluster/temp/log] #
498
[SC-1:Xen43 Wed Mar 27 13:53:25/cluster/temp/log] # ps -ef |grep lttng
499
root     22946     1  0 13:51 ?        00:00:00 lttng-sessiond -vvv
500
root     23043 22946  2 13:51 ?        00:00:02 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
501
root     23368  4479  0 13:53 pts/1    00:00:00 grep lttng
502
[SC-1:Xen43 Wed Mar 27 13:53:28/cluster/temp/log] #
503
[SC-1:Xen43 Wed Mar 27 13:53:29/cluster/temp/log] # babeltrace ses9/SC-1/ust/uid/
504
[SC-1:Xen43 Wed Mar 27 13:53:38/cluster/temp/log] # babeltrace ses9/SC-1/ust/
505
[SC-1:Xen43 Wed Mar 27 13:53:40/cluster/temp/log] # babeltrace ses9/
506
[SC-1:Xen43 Wed Mar 27 13:53:45/cluster/temp/log] #
507
[SC-1:Xen43 Wed Mar 27 13:53:47/cluster/temp/log] # pkill sessiond
508
[SC-1:Xen43 Wed Mar 27 13:53:52/cluster/temp/log] #
509
[SC-1:Xen43 Wed Mar 27 13:53:52/cluster/temp/log] # cd Mar27_sessionDVerbose/
510
[SC-1:Xen43 Wed Mar 27 13:53:55/cluster/temp/log/Mar27_sessionDVerbose] # dir
511
total 356
512
-rwxr-xr-x 1 root root    178 Mar 27 13:44 TimeMe
513
-rw-r--r-- 1 root root 195232 Mar 27 13:51 combined_Wed_Mar_27_13_51_25_EDT_2013.log
514
-rw-r--r-- 1 root root 144489 Mar 27 13:53 combined_Wed_Mar_27_13_53_54_EDT_2013.log
515
-rw-r--r-- 1 root root   7840 Mar 27 13:53 combined.log
516
[SC-1:Xen43 Wed Mar 27 13:53:56/cluster/temp/log/Mar27_sessionDVerbose] # scp combined_Wed_Mar_27_13_53_54_EDT_2013.log lmctdlt@10.120.20.175:/tmp/tdlt/
517
Enter NALA Windows password:
518
combined_Wed_Mar_27_13_53_54_EDT_2013.log                                                                                                    100%  141KB 141.1KB/s   00:00
519
[SC-1:Xen43 Wed Mar 27 13:57:15/cluster/temp/log/Mar27_sessionDVerbose] #
520
[SC-1:Xen43 Wed Mar 27 13:57:15/cluster/temp/log/Mar27_sessionDVerbose] #
521

    
(3-3/7)