2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_fork
11 #if !defined(_TRACEPOINT_UST_TESTS_FORK_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_FORK_H
14 #include <lttng/tracepoint.h>
15 #include <sys/types.h>
17 TRACEPOINT_EVENT(ust_tests_fork
, before_fork
,
20 ctf_integer(pid_t
, pid
, pid
)
24 TRACEPOINT_EVENT(ust_tests_fork
, after_fork_child
,
27 ctf_integer(pid_t
, pid
, pid
)
31 TRACEPOINT_EVENT(ust_tests_fork
, after_fork_parent
,
34 ctf_integer(pid_t
, pid
, pid
)
38 TRACEPOINT_EVENT(ust_tests_fork
, after_exec
,
41 ctf_integer(pid_t
, pid
, pid
)
45 #endif /* _TRACEPOINT_UST_TESTS_FORK_H */
47 #undef TRACEPOINT_INCLUDE
48 #define TRACEPOINT_INCLUDE "./ust_tests_fork.h"
50 /* This part must be outside ifdef protection */
51 #include <lttng/tracepoint-event.h>
This page took 0.030417 seconds and 4 git commands to generate.