-
Notifications
You must be signed in to change notification settings - Fork 1
/
sched_sim_tracepoint.h
69 lines (57 loc) · 1.3 KB
/
sched_sim_tracepoint.h
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
#undef LTTNG_UST_TRACEPOINT_PROVIDER
#define LTTNG_UST_TRACEPOINT_PROVIDER sched_sim
#undef LTTNG_UST_TRACEPOINT_INCLUDE
#define LTTNG_UST_TRACEPOINT_INCLUDE "./sched_sim_tracepoint.h"
#if !defined(_SCHED_SIM_TP_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
#define _SCHED_SIM_TP_H
#include <lttng/tracepoint.h>
LTTNG_UST_TRACEPOINT_EVENT(
sched_sim,
start_main,
LTTNG_UST_TP_ARGS(
),
LTTNG_UST_TP_FIELDS(
)
)
LTTNG_UST_TRACEPOINT_EVENT(
sched_sim,
input_parsed,
LTTNG_UST_TP_ARGS(
),
LTTNG_UST_TP_FIELDS(
)
)
LTTNG_UST_TRACEPOINT_EVENT(
sched_sim,
waited_for_task_init,
LTTNG_UST_TP_ARGS(
),
LTTNG_UST_TP_FIELDS(
)
)
LTTNG_UST_TRACEPOINT_EVENT(
sched_sim,
migrated,
LTTNG_UST_TP_ARGS(
int, cpu_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_integer(char, cpu, cpu_arg)
)
)
LTTNG_UST_TRACEPOINT_EVENT(
sched_sim,
job_spawn,
LTTNG_UST_TP_ARGS(
int, task_arg,
int, job_arg,
int, deadline_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_integer(char, task, task_arg)
lttng_ust_field_integer(char, job, job_arg)
lttng_ust_field_integer(long, deadline, deadline_arg)
)
)
#endif /* _SCHED_SIM_TP_H */
#include <lttng/tracepoint-event.h>