]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #include "include/int_types.h" |
2 | ||
3 | TRACEPOINT_EVENT(eventtrace, func_enter, | |
4 | TP_ARGS( | |
5 | const char*, file, | |
6 | const char*, func, | |
7 | uint32_t, line), | |
8 | TP_FIELDS( | |
9 | ctf_string(file, file) | |
10 | ctf_string(func, func) | |
11 | ctf_integer(uint32_t, line, line) | |
12 | ) | |
13 | ) | |
14 | ||
15 | TRACEPOINT_EVENT(eventtrace, func_exit, | |
16 | TP_ARGS( | |
17 | const char*, file, | |
18 | const char*, func), | |
19 | TP_FIELDS( | |
20 | ctf_string(file, file) | |
21 | ctf_string(func, func) | |
22 | ) | |
23 | ) | |
24 | ||
25 | TRACEPOINT_EVENT(eventtrace, oid_event, | |
26 | TP_ARGS( | |
27 | const char*, oid, | |
28 | const char*, event, | |
29 | const char*, context, | |
30 | const char*, file, | |
31 | const char*, func, | |
32 | uint32_t, line), | |
33 | TP_FIELDS( | |
34 | ctf_string(oid, oid) | |
35 | ctf_string(event, event) | |
36 | ctf_string(context, context) | |
37 | ctf_string(file, file) | |
38 | ctf_string(func, func) | |
39 | ctf_integer(uint32_t, line, line) | |
40 | ) | |
41 | ) | |
42 | ||
43 | TRACEPOINT_EVENT(eventtrace, oid_elapsed, | |
44 | TP_ARGS( | |
45 | const char*, oid, | |
46 | const char*, event, | |
47 | const char*, context, | |
48 | double, elapsed, | |
49 | const char*, file, | |
50 | const char*, func, | |
51 | uint32_t, line), | |
52 | TP_FIELDS( | |
53 | ctf_string(oid, oid) | |
54 | ctf_string(event, event) | |
55 | ctf_string(context, context) | |
56 | ctf_float(double, elapsed, elapsed) | |
57 | ctf_string(file, file) | |
58 | ctf_string(func, func) | |
59 | ctf_integer(uint32_t, line, line) | |
60 | ) | |
61 | ) |