Project

General

Profile

Bug #487 » Terminal.log

Terminal log when TC is executed - Tan le tran, 03/27/2013 11:46 AM

 
1
[SC-1:Xen43 Tue Mar 26 17:51:20/cluster/temp/tdlt/SDP/EA_GB_Mar26_PM] # cd /cluster/temp/log
2
[SC-1:Xen43 Tue Mar 26 17:53:03/cluster/temp/log] # dir
3
total 0
4
[SC-1:Xen43 Tue Mar 26 17:53:04/cluster/temp/log] # ps -ef |grep lttng
5
root     14216     1  0 17:49 ?        00:00:00 lttng-sessiond -d
6
root     14664 21812  0 17:53 pts/3    00:00:00 grep lttng
7
[SC-1:Xen43 Tue Mar 26 17:53:11/cluster/temp/log] #
8
[SC-1:Xen43 Tue Mar 26 17:53:12/cluster/temp/log] #
9
[SC-1:Xen43 Tue Mar 26 17:53:12/cluster/temp/log] #
10
[SC-1:Xen43 Tue Mar 26 17:53:12/cluster/temp/log] # net
11
Active Internet connections (servers and established)
12
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
13
[SC-1:Xen43 Tue Mar 26 17:53:14/cluster/temp/log] #
14
[SC-1:Xen43 Tue Mar 26 17:53:14/cluster/temp/log] #
15
[SC-1:Xen43 Tue Mar 26 17:53:15/cluster/temp/log] # lttng list
16
Currently no available tracing session
17
[SC-1:Xen43 Tue Mar 26 17:53:19/cluster/temp/log] #        export TC=ses1
18
[SC-1:Xen43 Tue Mar 26 17:53:26/cluster/temp/log] #
19
[SC-1:Xen43 Tue Mar 26 17:53:26/cluster/temp/log] #        ps -ef |egrep 'lttng'
20
       netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
21
       lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
22
       netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
23
root     14216     1  0 17:49 ?        00:00:00 lttng-sessiond -d
24
root     14685 21812  0 17:53 pts/3    00:00:00 egrep lttng
25
[SC-1:Xen43 Tue Mar 26 17:53:26/cluster/temp/log] #        netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
26
Active Internet connections (servers and established)
27
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
28
[SC-1:Xen43 Tue Mar 26 17:53:26/cluster/temp/log] #        lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
29
[1] 14690
30
[SC-1:Xen43 Tue Mar 26 17:53:26/cluster/temp/log] #        netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
31
Active Internet connections (servers and established)
32
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
33
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536239  14690/lttng-relayd
34
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536240  14690/lttng-relayd
35
[SC-1:Xen43 Tue Mar 26 17:53:27/cluster/temp/log] #        time lttng list
36
       time lttng list
37
Currently no available tracing session
38

    
39
real    0m0.002s
40
user    0m0.000s
41
sys     0m0.000s
42
[SC-1:Xen43 Tue Mar 26 17:54:25/cluster/temp/log] #        time lttng create $TC -U net://192.168.0.1:53000:53001/./
43
       sleep 1
44
       time lttng enable-channel -u --buffers-uid chan1
45
       sleep 1
46
       time lttng enable-event -s $TC "com*"  -u -c chan1
47
Session ses1 created.
48
Traces will be written in net://192.168.0.1:53000:53001/./
49

    
50
real    0m0.002s
51
user    0m0.000s
52
sys     0m0.004s
53
[SC-1:Xen43 Tue Mar 26 17:54:25/cluster/temp/log] #        time lttng list
54
       sleep 1
55
       time lttng list $TC
56
       sleep 1
57
       time lttng start;
58
Available tracing sessions:
59
  1) ses1 (net://192.168.0.1:53000/./ [data: 5343]) [inactive]
60

    
61
Use lttng list <session_name> for more details
62

    
63
real    0m0.002s
64
user    0m0.000s
65
sys     0m0.000s
66
[SC-1:Xen43 Tue Mar 26 17:54:25/cluster/temp/log] #        sleep 1
67
       sleep 1
68
       time lttng list
69
[SC-1:Xen43 Tue Mar 26 17:54:26/cluster/temp/log] #        time lttng enable-channel -u --buffers-uid chan1
70
UST channel chan1 enabled for session ses1
71

    
72
real    0m0.005s
73
user    0m0.000s
74
sys     0m0.000s
75
[SC-1:Xen43 Tue Mar 26 17:54:26/cluster/temp/log] #        sleep 1
76
[SC-1:Xen43 Tue Mar 26 17:54:27/cluster/temp/log] #        time lttng enable-event -s $TC "com*"  -u -c chan1
77
UST event com* created in channel chan1
78

    
79
real    0m0.002s
80
user    0m0.000s
81
sys     0m0.000s
82
[SC-1:Xen43 Tue Mar 26 17:54:27/cluster/temp/log] #        sleep 1
83
[SC-1:Xen43 Tue Mar 26 17:54:28/cluster/temp/log] #        time lttng list $TC
84
Tracing session ses1: [inactive]
85
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
86

    
87
=== Domain: UST global ===
88

    
89
Channels:
90
-------------
91
- chan1: [enabled]
92

    
93
    Attributes:
94
      overwrite mode: 0
95
      subbufers size: 4096
96
      number of subbufers: 4
97
      switch timer interval: 0
98
      read timer interval: 200000
99
      output: mmap()
100

    
101
    Events:
102
      com* (type: tracepoint) [enabled]
103

    
104

    
105
real    0m0.003s
106
user    0m0.000s
107
sys     0m0.004s
108
[SC-1:Xen43 Tue Mar 26 17:54:28/cluster/temp/log] #        sleep 1
109
[SC-1:Xen43 Tue Mar 26 17:54:29/cluster/temp/log] #        time lttng start;
110
Tracing started for session ses1
111

    
112
real    0m0.002s
113
user    0m0.000s
114
sys     0m0.000s
115
[SC-1:Xen43 Tue Mar 26 17:54:29/cluster/temp/log] #        sleep 1
116
[SC-1:Xen43 Tue Mar 26 17:54:30/cluster/temp/log] #        time lttng list
117
Available tracing sessions:
118
  1) ses1 (net://192.168.0.1:53000/./ [data: 53001]) [active]
119

    
120
Use lttng list <session_name> for more details
121

    
122
real    0m0.002s
123
user    0m0.000s
124
sys     0m0.000s
125
[SC-1:Xen43 Tue Mar 26 17:54:30/cluster/temp/log] #
126
[SC-1:Xen43 Tue Mar 26 17:54:34/cluster/temp/log] # lttng list -u
127
UST events:
128
-------------
129
None
130

    
131
[SC-1:Xen43 Tue Mar 26 17:54:37/cluster/temp/log] # ps -ef |grep TestApp
132
root     14793 21812  0 17:54 pts/3    00:00:00 grep TestApp
133
[SC-1:Xen43 Tue Mar 26 17:54:43/cluster/temp/log] #
134
[SC-1:Xen43 Tue Mar 26 17:54:44/cluster/temp/log] # /home/test_apps/TestApp_type1 50000 np &
135
[2] 14808
136
[SC-1:Xen43 Tue Mar 26 17:54:58/cluster/temp/log] #
137
[SC-1:Xen43 Tue Mar 26 17:54:59/cluster/temp/log] # lttng list -u
138
UST events:
139
-------------
140

    
141
PID: 14808 - Name: /home/test_apps/TestApp_type1
142
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
143
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
144
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
145
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
146
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
147
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
148
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
149
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
150
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
151
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
152
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
153
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
154

    
155
[SC-1:Xen43 Tue Mar 26 17:55:05/cluster/temp/log] #
156
[SC-1:Xen43 Tue Mar 26 17:55:06/cluster/temp/log] # dir
157
total 4
158
drwxr-x--- 3 root root 4096 Mar 26 17:54 ses1
159
[SC-1:Xen43 Tue Mar 26 17:55:09/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
160
total 0
161
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
162
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
163
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
164
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
165
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
166
[SC-1:Xen43 Tue Mar 26 17:55:12/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
167
total 0
168
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
169
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
170
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
171
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
172
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
173
[SC-1:Xen43 Tue Mar 26 17:55:15/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
174
total 0
175
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
176
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
177
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
178
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
179
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
180
[SC-1:Xen43 Tue Mar 26 17:55:17/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
181
total 0
182
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
183
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
184
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
185
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
186
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
187
[SC-1:Xen43 Tue Mar 26 17:55:19/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
188
total 0
189
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
190
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
191
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
192
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
193
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
194
[SC-1:Xen43 Tue Mar 26 17:55:25/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
195
total 0
196
-rwxr-xr-x 1 root root 0 Mar 26 17:54 metadata
197
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_3
198
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_2
199
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_1
200
-rwxr-xr-x 1 root root 0 Mar 26 17:54 chan1_0
201
[SC-1:Xen43 Tue Mar 26 17:55:28/cluster/temp/log] # lttng list ses1
202
Tracing session ses1: [active]
203
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
204

    
205
=== Domain: UST global ===
206

    
207
Channels:
208
-------------
209
- chan1: [enabled]
210

    
211
    Attributes:
212
      overwrite mode: 0
213
      subbufers size: 4096
214
      number of subbufers: 4
215
      switch timer interval: 0
216
      read timer interval: 200000
217
      output: mmap()
218

    
219
    Events:
220
      com* (type: tracepoint) [enabled]
221

    
222
[SC-1:Xen43 Tue Mar 26 17:55:35/cluster/temp/log] # lttng stop
223
Waiting for data availability
224
Tracing stopped for session ses1
225
[SC-1:Xen43 Tue Mar 26 17:55:43/cluster/temp/log] #
226
[SC-1:Xen43 Tue Mar 26 17:55:44/cluster/temp/log] # lttng list ses1
227
Tracing session ses1: [inactive]
228
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
229

    
230
=== Domain: UST global ===
231

    
232
Channels:
233
-------------
234
- chan1: [enabled]
235

    
236
    Attributes:
237
      overwrite mode: 0
238
      subbufers size: 4096
239
      number of subbufers: 4
240
      switch timer interval: 0
241
      read timer interval: 200000
242
      output: mmap()
243

    
244
    Events:
245
      com* (type: tracepoint) [enabled]
246

    
247
[SC-1:Xen43 Tue Mar 26 17:55:45/cluster/temp/log] # net
248
Active Internet connections (servers and established)
249
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
250
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536239  14690/lttng-relayd
251
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536240  14690/lttng-relayd
252
tcp        0      0 192.168.0.1:42907       192.168.0.1:53001       ESTABLISHED 0          312535456  14761/lttng-consume
253
tcp        0      0 192.168.0.1:48200       192.168.0.1:53000       ESTABLISHED 0          312535455  14761/lttng-consume
254
tcp        0      0 192.168.0.1:53000       192.168.0.1:48200       ESTABLISHED 0          312536303  14690/lttng-relayd
255
tcp        0      0 192.168.0.1:53001       192.168.0.1:42907       ESTABLISHED 0          312536304  14690/lttng-relayd
256
[SC-1:Xen43 Tue Mar 26 17:55:50/cluster/temp/log] #
257
[SC-1:Xen43 Tue Mar 26 17:55:53/cluster/temp/log] # lttng destroy
258
Session ses1 destroyed
259
[SC-1:Xen43 Tue Mar 26 17:55:57/cluster/temp/log] #
260
[SC-1:Xen43 Tue Mar 26 17:55:58/cluster/temp/log] # net
261
Active Internet connections (servers and established)
262
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
263
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536239  14690/lttng-relayd
264
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536240  14690/lttng-relayd
265
[SC-1:Xen43 Tue Mar 26 17:56:00/cluster/temp/log] #
266
[SC-1:Xen43 Tue Mar 26 17:56:01/cluster/temp/log] # lttng list
267
Currently no available tracing session
268
[SC-1:Xen43 Tue Mar 26 17:56:04/cluster/temp/log] #
269
[SC-1:Xen43 Tue Mar 26 17:56:05/cluster/temp/log] # pkill relayd
270
[SC-1:Xen43 Tue Mar 26 17:56:10/cluster/temp/log] #
271
[1]-  Done                    lttng-relayd -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001 -o /cluster/temp/log/$TC
272
[SC-1:Xen43 Tue Mar 26 17:56:11/cluster/temp/log] #
273
[SC-1:Xen43 Tue Mar 26 17:56:11/cluster/temp/log] # net
274
Active Internet connections (servers and established)
275
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
276
[SC-1:Xen43 Tue Mar 26 17:56:13/cluster/temp/log] #
277
[SC-1:Xen43 Tue Mar 26 17:56:14/cluster/temp/log] #
278
[SC-1:Xen43 Tue Mar 26 17:56:14/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
279
chan1_0   chan1_1   chan1_2   chan1_3   metadata
280
[SC-1:Xen43 Tue Mar 26 17:56:14/cluster/temp/log] # dir ses1/SC-1/ust/uid/0/64-bit/
281
total 44
282
-rwxr-xr-x 1 root root 12288 Mar 26 17:55 metadata
283
-rwxr-xr-x 1 root root  8192 Mar 26 17:55 chan1_3
284
-rwxr-xr-x 1 root root  8192 Mar 26 17:55 chan1_2
285
-rwxr-xr-x 1 root root  8192 Mar 26 17:55 chan1_1
286
-rwxr-xr-x 1 root root  8192 Mar 26 17:55 chan1_0
287
[SC-V??JF!Tue Mar 26 17:56:34/cluster/temp/log] # more ses1/SC-1/ust/uid/0/64-bit/metadata
288
typealias integer { size = 8; align = 8; signed = false; } := uint8_t;it/metadata
289
typealias integer { size = 16; align = 8; signed = false; } := uint16_t;
290
typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
291
typealias integer { size = 64; align = 8; signed = false; } := uint64_t;
292
typealias integer { size = 64; align = 8; signed = false; } := unsigned long;
293
typealias integer { size = 5; align = 1; signed = false; } := uint5_t;
294
typealias integer { size = 27; align = 1; signed = false; } := uint27_t;
295

    
296
trace {
297
        major = 1;
298
        minor = 8;
299
        uuid = "c28d56ec-cd4a-4621-80d1-7f9c1dc1b208";
300
        byte_order = le;
301
        packet.header := struct {
302
                uint32_t magic;
303
                uint8_t  uuid[16];
304
                uint32_t stream_id;
305
        };
306
};
307

    
308
env {
309
        hostname = "SC-1";
310
        domain = "ust";
311
        tracer_name = "lttng-ust";
312
        tracer_major = 2;
313
        tracer_minor = 1;
314
        tracer_patchlevel = 0;
315
        vpid = 14808;
316
        procname = "TestApp_type1";
317
};
318

    
319
clock {
320
        name = monotonic;
321
        uuid = "7c002362-f7ce-4efe-a709-602ba5f131fb";
322
        description = "Monotonic Clock";
323
        freq = 1000000000; /* Frequency, in Hz */
324
        /* clock value offset from Epoch is: offset * (1/freq) */
325
        offset = 1362003185089525629;
326
};
327

    
328
typealias integer {
329
        size = 27; align = 1; signed = false;
330
        map = clock.monotonic.value;
331
} := uint27_clock_monotonic_t;
332

    
333
typealias integer {
334
        size = 32; align = 8; signed = false;
335
        map = clock.monotonic.value;
336
} := uint32_clock_monotonic_t;
337

    
338
typealias integer {
339
        size = 64; align = 8; signed = false;
340
        map = clock.monotonic.value;
341
} := uint64_clock_monotonic_t;
342

    
343
struct packet_context {
344
        uint64_clock_monotonic_t timestamp_begin;
345
        uint64_clock_monotonic_t timestamp_end;
346
        uint64_t content_size;
347
        uint64_t packet_size;
348
        unsigned long events_discarded;
349
        uint32_t cpu_id;
350
};
351

    
352
struct event_header_compact {
353
        enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
354
        variant <id> {
355
                struct {
356
                        uint27_clock_monotonic_t timestamp;
357
                } compact;
358
                struct {
359
                        uint32_t id;
360
                        uint64_clock_monotonic_t timestamp;
361
                } extended;
362
        } v;
363
} align(8);
364

    
365
struct event_header_large {
366
        enum : uint16_t { compact = 0 ... 65534, extended = 65535 } id;
367
        variant <id> {
368
                struct {
369
                        uint32_clock_monotonic_t timestamp;
370
                } compact;
371
                struct {
372
                        uint32_t id;
373
                        uint64_clock_monotonic_t timestamp;
374
                } extended;
375
        } v;
376
} align(8);
377

    
378
stream {
379
        id = 0;
380
        event.header := struct event_header_compact;
381
        packet.context := struct packet_context;
382
};
383

    
384
event {
385
        name = "com_ericsson_cba_trace_testapp_hightraf:HundredPerSec";
386
        id = 0;
387
        stream_id = 0;
388
        loglevel = 13;
389
        fields := struct {
390
                string _my_Time;
391
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
392
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _TenPs;
393
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _HundredPs;
394
                floating_point { exp_dig = 8; mant_dig = 24; align = 8; } _unit_float;
395
                string _unit_string;
396
        };
397
};
398

    
399
event {
400
        name = "com_ericsson_cba_trace_testapp_hightraf:KiloPerSec";
401
        id = 1;
402
        stream_id = 0;
403
        loglevel = 14;
404
        fields := struct {
405
                string _my_Time;
406
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
407
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _TenPs;
408
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _HundredPs;
409
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _KiloPs;
410
                floating_point { exp_dig = 8; mant_dig = 24; align = 8; } _unit_float;
411
                string _unit_string;
412
        };
413
};
414

    
415
event {
416
        name = "com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec";
417
        id = 2;
418
        stream_id = 0;
419
        loglevel = 14;
420
        fields := struct {
421
                string _my_Time;
422
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
423
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _TenPs;
424
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _HundredPs;
425
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _KiloPs;
426
                integer { size = V??JF!?Ht { exp_dig = 8; mant_dig = 24; align = 8; } _unit_float;Ps;
427
                string _unit_string;
428
        };
429
};
430

    
431
event {
432
        name = "com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA";
433
        id = 3;
434
        stream_id = 0;
435
        loglevel = 8;
436
        fields := struct {
437
                string _my_Time;
438
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
439
        };
440
};
441

    
442
event {
443
        name = "com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB";
444
        id = 4;
445
        stream_id = 0;
446
        loglevel = 9;
447
        fields := struct {
448
                string _my_Time;
449
        };
450
};
451

    
452
event {
453
        name = "com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA";
454
        id = 5;
455
        stream_id = 0;
456
        loglevel = 10;
457
        fields := struct {
458
                string _my_Time;
459
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
460
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _TenPs;
461
                floating_point { exp_dig = 8; mant_dig = 24; align = 8; } _unit_float;
462
                string _unit_string;
463
                string _stringAllSigns;
464
        };
465
};
466

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

    
477
event {
478
        name = "com_ericsson_cba:cba_domain_event";
479
        id = 7;
480
        stream_id = 0;
481
        loglevel = 3;
482
        fields := struct {
483
                string _my_Time;
484
                string _CallingFrom;
485
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs_in_Integer;
486
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 16; } _OnePs_in_Hex;
487
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _incrementMe;
488
        };
489
};
490

    
491
event {
492
        name = "com_ericsson_cba:AfterAllLoops";
493
        id = 8;
494
        stream_id = 0;
495
        loglevel = 3;
496
        fields := struct {
497
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _incrementMe;
498
        };
499
};
500

    
501
event {
502
        name = "com_ericsson_cba_trace:trace_domain_event";
503
        id = 9;
504
        stream_id = 0;
505
        loglevel = 4;
506
        fields := struct {
507
                string _my_Time;
508
                string _CallingFrom;
509
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
510
                integer { size = 64; align = 8; signed = 1; encoding = none; base = 10; } _Using_Array[2];
511
                integer { size = 64; align = 8; signed = 0; encoding = none; base = 10; } __Using_sequence_length;
512
                integer { size = 64; align = 8; signed = 1; encoding = none; base = 10; } _Using_sequence[ __Using_sequence_length ];
513
                integer { size = 8; align = 8; signed = 1; encoding = none; base = 10; } _array[2];
514
                integer { size = 8; align = 8; signed = 1; encoding = UTF8; base = 10; } _array_text[2];
515
        };
516
};
517

    
518
event {
519
        name = "com_ericsson_cba_trace_testapp:testapp_domain_event";
520
        id = 10;
521
        stream_id = 0;
522
        loglevel = 5;
523
        fields := struct {
524
                string _my_Time;
525
                string _CallingFrom;
526
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _OnePs;
527
                floating_point { exp_dig = 8; mant_dig = 24; align = 8; } _ValueOfPi;
528
        };
529
};
530

    
531
event {
532
        name = "com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint";
533
        id = 11;
534
        stream_id = 0;
535
        loglevel = 13;
536
        fields := struct {
537
                string _my_Time;
538
                string _Sub_Name;
539
                string _sub_IMSI;
540
                floating_point { exp_dig = 8; mant_dig = 24; align = 8; } _Sub_balance;
541
                integer { size = 32; align = 8; signed = 1; encoding = none; base = 10; } _Sub_TimeRemaining;
542
        };
543
};
544
    V??JF!?[SC-1:Xen43 Tue Mar 26 17:56:35/cluster/temp/log] #
545
[SC-1:Xen43 Tue Mar 26 17:56:36/cluster/temp/log] #
546
[SC-1:Xen43 Tue Mar 26 17:56:37/cluster/temp/log] # babeltrace ses1/SC-1/ust/uid/0/64-bit/
547
chan1_0   chan1_1   chan1_2   chan1_3   metadata
548
[SC-1:Xen43 Tue Mar 26 17:56:37/cluster/temp/log] # babeltrace ses1/SC-1/ust/uid/0/64-bit/
549
[SC-1:Xen43 Tue Mar 26 17:56:53/cluster/temp/log] #
550
[SC-1:Xen43 Tue Mar 26 17:56:54/cluster/temp/log] # babeltrace ses1/SC-1/ust/uid/0/
551
[SC-1:Xen43 Tue Mar 26 17:56:57/cluster/temp/log] # babeltrace ses1/SC-1/ust/
552
[SC-1:Xen43 Tue Mar 26 17:56:59/cluster/temp/log] # babeltrace ses1/SC-1/
553
[SC-1:Xen43 Tue Mar 26 17:57:02/cluster/temp/log] # babeltrace ses1/
554
[SC-1:Xen43 Tue Mar 26 17:57:04/cluster/temp/log] #
555
[SC-1:Xen43 Tue Mar 26 17:57:05/cluster/temp/log] # ps -ef |grep lttng
556
root     14216     1  0 17:49 ?        00:00:00 lttng-sessiond -d
557
root     14761 14216  1 17:54 ?        00:00:02 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
558
root     14985 21812  0 17:57 pts/3    00:00:00 grep lttng
559
[SC-1:Xen43 Tue Mar 26 17:57:23/cluster/temp/log] #
560
[SC-1:Xen43 Tue Mar 26 17:57:31/cluster/temp/log] #
561
[SC-1:Xen43 Tue Mar 26 17:57:31/cluster/temp/log] # dir /cluster/dumps/
562
total 29532
563
-rw------- 1 root root 21942272 Feb 28 18:41 trace_c.12571.SC-1.core
564
-rw------- 1 root root 20017152 Mar  5 05:54 trace_c.8873.SC-1.core
565
-rw------- 1 root root 19673088 Mar  5 08:11 trace_c.12280.SC-1.core
566
-rw------- 1 root root 37220352 Mar 13 01:17 lttng-consumerd.10182.SC-1.core
567
-rw------- 1 root root 19460096 Mar 13 01:58 trace_c.19116.SC-1.core
568
-rw------- 1 root root 39223296 Mar 18 16:17 lttng-consumerd.19578.SC-1.core
569
-rw------- 1 root root 35909632 Mar 20 10:09 lttng-consumerd.12584.PL-4.core
570
-rw------- 1 root root 36569088 Mar 20 10:09 lttng-consumerd.1469.SC-2.core
571
-rw------- 1 root root 36110336 Mar 20 10:09 lttng-consumerd.12627.PL-3.core
572
-rw------- 1 root root 21610496 Mar 20 12:07 trace_c.19417.SC-1.core
573
-rw------- 1 root root  1712128 Mar 20 12:28 babeltrace.10017.SC-1.core
574
-rw------- 1 root root 17747968 Mar 26 13:49 TestApp_100psOn.16792.SC-1.core
575
-rw------- 1 root root 17747968 Mar 26 14:20 TestApp_100psOn.18478.SC-1.core
576
-rw------- 1 root root 17747968 Mar 26 14:21 TestApp_100psOn.19818.SC-1.core
577
-rw------- 1 root root 17747968 Mar 26 14:22 TestApp_type1.19833.SC-1.core
578
-rw------- 1 root root 17747968 Mar 26 14:28 TestApp_100psOn.20326.SC-1.core
579
[SC-1:Xen43 Tue Mar 26 17:57:36/cluster/temp/log] #
580
[SC-1:Xen43 Tue Mar 26 17:58:17/cluster/temp/log] #
581
[SC-1:Xen43 Tue Mar 26 17:58:17/cluster/temp/log] #
582
[SC-1:Xen43 Tue Mar 26 17:58:17/cluster/temp/log] #        export TC=ses2
583
[SC-1:Xen43 Tue Mar 26 17:58:18/cluster/temp/log] #
584
[SC-1:Xen43 Tue Mar 26 17:58:18/cluster/temp/log] #        ps -ef |egrep 'lttng'
585
       netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
586
       lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
587
       netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
588
root     14216     1  0 17:49 ?        00:00:00 lttng-sessiond -d
589
root     14761 14216  1 17:54 ?        00:00:02 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
590
root     15044 21812  0 17:58 pts/3    00:00:00 egrep lttng
591
[SC-1:Xen43 Tue Mar 26 17:58:19/cluster/temp/log] #        netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
592
Active Internet connections (servers and established)
593
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
594
[SC-1:Xen43 Tue Mar 26 17:58:19/cluster/temp/log] #        lttng-relayd  -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001  -o /cluster/temp/log/$TC &
595
[3] 15049
596
[SC-1:Xen43 Tue Mar 26 17:58:19/cluster/temp/log] #        netstat -etanp | head -n 2 ; netstat -etanp |egrep lttng
597
Active Internet connections (servers and established)
598
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
599
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536917  15049/lttng-relayd
600
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536918  15049/lttng-relayd
601
[SC-1:Xen43 Tue Mar 26 17:58:19/cluster/temp/log] #
602
[SC-1:Xen43 Tue Mar 26 17:58:22/cluster/temp/log] #
603
[SC-1:Xen43 Tue Mar 26 17:58:23/cluster/temp/log] #
604
[SC-1:Xen43 Tue Mar 26 17:58:23/cluster/temp/log] # lttng list -u
605
UST events:
606
-------------
607

    
608
PID: 14808 - Name: /home/test_apps/TestApp_type1
609
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
610
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
611
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
612
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
613
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
614
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
615
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
616
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
617
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
618
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
619
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
620
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
621

    
622
[SC-1:Xen43 Tue Mar 26 17:58:43/cluster/temp/log] #
623
[SC-1:Xen43 Tue Mar 26 17:58:44/cluster/temp/log] #        time lttng list
624
       time lttng list
625
Currently no available tracing session
626

    
627
real    0m0.002s
628
user    0m0.000s
629
sys     0m0.000s
630
[SC-1:Xen43 Tue Mar 26 17:58:46/cluster/temp/log] #        time lttng create $TC -U net://192.168.0.1:53000:53001/./
631
       sleep 1
632
       time lttng enable-channel -u --buffers-uid chan1
633
Session ses2 created.
634
Traces will be written in net://192.168.0.1:53000:53001/./
635

    
636
real    0m0.003s
637
user    0m0.000s
638
sys     0m0.000s
639
[SC-1:Xen43 Tue Mar 26 17:58:46/cluster/temp/log] #        time lttng list
640
Available tracing sessions:
641
       sleep 1
642
  1) ses2 (net://192.168.0.1:53000/./ [data: 5343]) [inactive]
643

    
644
Use lttng list <session_name> for more details
645

    
646
real    0m0.002s
647
user    0m0.000s
648
sys     0m0.000s
649
[SC-1:Xen43 Tue Mar 26 17:58:46/cluster/temp/log] #        sleep 1
650
       time lttng enable-event -s $TC -u -c chan1 "com*"
651
       sleep 1
652
       time lttng list $TC
653
       sleep 1
654
       time lttng start;
655
       sleep 1
656
       time lttng list
657
[SC-1:Xen43 Tue Mar 26 17:58:47/cluster/temp/log] #        time lttng enable-channel -u --buffers-uid chan1
658
UST channel chan1 enabled for session ses2
659

    
660
real    0m0.072s
661
user    0m0.000s
662
sys     0m0.000s
663
[SC-1:Xen43 Tue Mar 26 17:58:47/cluster/temp/log] #        sleep 1
664
[SC-1:Xen43 Tue Mar 26 17:58:48/cluster/temp/log] #        time lttng enable-event -s $TC -u -c chan1 "com*"
665
UST event com* created in channel chan1
666

    
667
real    0m0.002s
668
user    0m0.000s
669
sys     0m0.000s
670
[SC-1:Xen43 Tue Mar 26 17:58:48/cluster/temp/log] #        sleep 1
671
[SC-1:Xen43 Tue Mar 26 17:58:49/cluster/temp/log] #        time lttng list $TC
672
Tracing session ses2: [inactive]
673
    Trace path: net://192.168.0.1:53000/./ [data: 53001]
674

    
675
=== Domain: UST global ===
676

    
677
Channels:
678
-------------
679
- chan1: [enabled]
680

    
681
    Attributes:
682
      overwrite mode: 0
683
      subbufers size: 4096
684
      number of subbufers: 4
685
      switch timer interval: 0
686
      read timer interval: 200000
687
      output: mmap()
688

    
689
    Events:
690
      com* (type: tracepoint) [enabled]
691

    
692

    
693
real    0m0.003s
694
user    0m0.000s
695
sys     0m0.000s
696
[SC-1:Xen43 Tue Mar 26 17:58:49/cluster/temp/log] #        sleep 1
697
[SC-1:Xen43 Tue Mar 26 17:58:50/cluster/temp/log] #        time lttng start;
698
Tracing started for session ses2
699

    
700
real    0m0.005s
701
user    0m0.000s
702
sys     0m0.000s
703
[SC-1:Xen43 Tue Mar 26 17:58:50/cluster/temp/log] #        sleep 1
704
[SC-1:Xen43 Tue Mar 26 17:58:51/cluster/temp/log] #        time lttng list
705
Available tracing sessions:
706
  1) ses2 (net://192.168.0.1:53000/./ [data: 53001]) [active]
707

    
708
Use lttng list <session_name> for more details
709

    
710
real    0m0.003s
711
user    0m0.000s
712
sys     0m0.000s
713
[SC-1:Xen43 Tue Mar 26 17:58:51/cluster/temp/log] #
714
[SC-1:Xen43 Tue Mar 26 17:58:55/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
715
chan1_0   chan1_1   chan1_2   chan1_3   metadata
716
[SC-1:Xen43 Tue Mar 26 17:58:55/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
717
total 0
718
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
719
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
720
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
721
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
722
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
723
[SC-1:Xen43 Tue Mar 26 17:59:00/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
724
total 0
725
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
726
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
727
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
728
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
729
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
730
[SC-1:Xen43 Tue Mar 26 17:59:04/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
731
total 0
732
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
733
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
734
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
735
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
736
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
737
[SC-1:Xen43 Tue Mar 26 17:59:06/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
738
total 0
739
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
740
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
741
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
742
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
743
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
744
[SC-1:Xen43 Tue Mar 26 17:59:07/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
745
total 0
746
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
747
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
748
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
749
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
750
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
751
[SC-1:Xen43 Tue Mar 26 17:59:43/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
752
total 0
753
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
754
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
755
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
756
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
757
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
758
[SC-1:Xen43 Tue Mar 26 17:59:44/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
759
total 0
760
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
761
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
762
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
763
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
764
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
765
[SC-1:Xen43 Tue Mar 26 17:59:46/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
766
total 0
767
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
768
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
769
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
770
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
771
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
772
[SC-1:Xen43 Tue Mar 26 17:59:47/cluster/temp/log] # dir ses2/SC-1/ust/uid/0/64-bit/
773
total 0
774
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_3
775
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_2
776
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_1
777
-rwxr-xr-x 1 root root 0 Mar 26 17:58 chan1_0
778
-rwxr-xr-x 1 root root 0 Mar 26 17:58 metadata
779
[SC-1:Xen43 Tue Mar 26 17:59:49/cluster/temp/log] # lttng list -u
780
UST events:
781
-------------
782

    
783
PID: 14808 - Name: /home/test_apps/TestApp_type1
784
      com_ericsson_cba_trace_testapp_hightraf:TenKiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
785
      com_ericsson_cba_trace_testapp_hightraf:KiloPerSec (loglevel: TRACE_DEBUG (14)) (type: tracepoint)
786
      com_ericsson_cba_trace_testapp_hightraf:HundredPerSec (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
787
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecB (loglevel: TRACE_DEBUG_UNIT (11)) (type: tracepoint)
788
      com_ericsson_cba_trace_testapp_lowtraf:TenPerSecA (loglevel: TRACE_DEBUG_MODULE (10)) (type: tracepoint)
789
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecB (loglevel: TRACE_DEBUG_PROCESS (9)) (type: tracepoint)
790
      com_ericsson_cba_trace_testapp_lowtraf:OnePerSecA (loglevel: TRACE_DEBUG_PROGRAM (8)) (type: tracepoint)
791
      com_ericsson_cba:AfterAllLoops (loglevel: TRACE_ERR (3)) (type: tracepoint)
792
      com_ericsson_cba:cba_domain_event (loglevel: TRACE_ERR (3)) (type: tracepoint)
793
      com_ericsson_cba_trace:trace_domain_event (loglevel: TRACE_WARNING (4)) (type: tracepoint)
794
      com_ericsson_cba_trace_testapp:pointer_to_structure_in_tracepoint (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)
795
      com_ericsson_cba_trace_testapp:testapp_domain_event (loglevel: TRACE_NOTICE (5)) (type: tracepoint)
796

    
797
[SC-1:Xen43 Tue Mar 26 17:59:54/cluster/temp/log] # lttng list
798
Available tracing sessions:
799
  1) ses2 (net://192.168.0.1:53000/./ [data: 53001]) [active]
800

    
801
Use lttng list <session_name> for more details
802
[SC-1:Xen43 Tue Mar 26 18:00:06/cluster/temp/log] # net
803
Active Internet connections (servers and established)
804
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
805
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536917  15049/lttng-relayd
806
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536918  15049/lttng-relayd
807
tcp        0      0 192.168.0.1:42909       192.168.0.1:53001       ESTABLISHED 0          312537502  14761/lttng-consume
808
tcp        0      0 192.168.0.1:53001       192.168.0.1:42909       ESTABLISHED 0          312536996  15049/lttng-relayd
809
tcp        0      0 192.168.0.1:53000       192.168.0.1:48202       ESTABLISHED 0          312536995  15049/lttng-relayd
810
tcp        0      0 192.168.0.1:48202       192.168.0.1:53000       ESTABLISHED 0          312537500  14761/lttng-consume
811
[SC-1:Xen43 Tue Mar 26 18:00:12/cluster/temp/log] # lttng stop
812
Waiting for data availability
813
Tracing stopped for session ses2
814
[SC-1:Xen43 Tue Mar 26 18:00:17/cluster/temp/log] #
815
[SC-1:Xen43 Tue Mar 26 18:00:18/cluster/temp/log] # lttng destroy
816
Session ses2 destroyed
817
[SC-1:Xen43 Tue Mar 26 18:00:22/cluster/temp/log] #
818
[SC-1:Xen43 Tue Mar 26 18:00:22/cluster/temp/log] # net
819
Active Internet connections (servers and established)
820
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
821
tcp        0      0 0.0.0.0:53000           0.0.0.0:*               LISTEN      0          312536917  15049/lttng-relayd
822
tcp        0      0 0.0.0.0:53001           0.0.0.0:*               LISTEN      0          312536918  15049/lttng-relayd
823
[SC-1:Xen43 Tue Mar 26 18:00:35/cluster/temp/log] # pkill relayd
824
[SC-1:Xen43 Tue Mar 26 18:00:40/cluster/temp/log] #
825
[3]+  Done                    lttng-relayd -C tcp://0.0.0.0:53000 -D tcp://0.0.0.0:53001 -o /cluster/temp/log/$TC
826
[SC-1:Xen43 Tue Mar 26 18:00:40/cluster/temp/log] #
827
[SC-1:Xen43 Tue Mar 26 18:00:41/cluster/temp/log] # ps -ef |grep lttng
828
root     14216     1  0 17:49 ?        00:00:00 lttng-sessiond -d
829
root     14761 14216  1 17:54 ?        00:00:06 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
830
root     15255 21812  0 18:00 pts/3    00:00:00 grep lttng
831
[SC-1:Xen43 Tue Mar 26 18:00:48/cluster/temp/log] #
832
[SC-1:Xen43 Tue Mar 26 18:04:57/cluster/temp/log] # lttng list
833
Currently no available tracing session
834
[SC-1:Xen43 Tue Mar 26 18:05:00/cluster/temp/log] #
(1-1/7)