-
Notifications
You must be signed in to change notification settings - Fork 1
/
play_video_tracepoint.h
86 lines (73 loc) · 1.79 KB
/
play_video_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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#undef LTTNG_UST_TRACEPOINT_PROVIDER
#define LTTNG_UST_TRACEPOINT_PROVIDER play_video
#undef LTTNG_UST_TRACEPOINT_INCLUDE
#define LTTNG_UST_TRACEPOINT_INCLUDE "./play_video_tracepoint.h"
#if !defined(_PLAY_VIDEO_TP_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
#define _PLAY_VIDEO_TP_H
#include <lttng/tracepoint.h>
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
start_main,
LTTNG_UST_TP_ARGS(
),
LTTNG_UST_TP_FIELDS(
)
)
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
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)
)
)
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
decode_next,
LTTNG_UST_TP_ARGS(
float, duration_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_float(double, duration, duration_arg)
)
)
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
decode_frame,
LTTNG_UST_TP_ARGS(
float, duration_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_float(double, duration, duration_arg)
)
)
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
prepare,
LTTNG_UST_TP_ARGS(
float, duration_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_float(double, duration, duration_arg)
)
)
LTTNG_UST_TRACEPOINT_EVENT(
play_video,
render,
LTTNG_UST_TP_ARGS(
float, duration_arg,
float, tardiness_arg
),
LTTNG_UST_TP_FIELDS(
lttng_ust_field_float(double, duration, duration_arg)
lttng_ust_field_float(double, tardiness, tardiness_arg)
)
)
#endif /* _PLAY_VIDEO_TP_H */
#include <lttng/tracepoint-event.h>