-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata
85 lines (73 loc) · 1.97 KB
/
metadata
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
80
81
82
83
84
85
/* CTF 1.8 */
typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
typealias integer { size = 16; align = 8; signed = false; } := uint16_t;
typealias integer { size = 32; align = 8; signed = false; } := uint32_t;
typealias integer { size = 64; align = 8; signed = false; } := uint64_t;
trace {
major = 1;
minor = 8;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa";
byte_order = le;
packet.header := struct {
uint32_t magic;
uint8_t uuid[16];
uint32_t stream_id;
};
};
env {
domain = "ust";
};
clock {
name = monotonic;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa";
description = "Monotonic Clock";
freq = 1000000000; /* Frequency, in Hz */
/* clock value offset from Epoch is: offset * (1/freq) */
offset = 0;
};
typealias integer {
size = 32; align = 8; signed = false;
map = clock.monotonic.value;
} := uint32_clock_monotonic_t;
typealias integer {
size = 64; align = 8; signed = false;
map = clock.monotonic.value;
} := uint64_clock_monotonic_t;
struct packet_context {
uint64_clock_monotonic_t timestamp_begin;
uint64_clock_monotonic_t timestamp_end;
uint64_t content_size;
uint64_t packet_size;
uint64_t events_discarded;
uint32_t cpu_id;
};
struct event_header {
uint8_t id;
uint64_t timestamp;
} align(8);
stream {
id = 0;
packet.context := struct packet_context;
event.header := struct event_header;
};
event {
name = "fast:func_entry";
id = 0;
stream_id = 0;
loglevel = 12;
fields := struct {
integer { size = 64; align = 8; signed = 0; encoding = none; base = 16; } addr;
integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } vtid;
integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } vpid;
};
};
event {
name = "fast:func_exit";
id = 1;
stream_id = 0;
loglevel = 12;
fields := struct {
integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } vtid;
integer { size = 8; align = 8; signed = 0; encoding = none; base = 10; } vpid;
};
};