1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER ust_tests_fork
4 #if !defined(_TRACEPOINT_UST_TESTS_FORK_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_UST_TESTS_FORK_H
8 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
11 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
13 * Permission is hereby granted to use or copy this program
14 * for any purpose, provided the above notices are retained on all copies.
15 * Permission to modify the code and to distribute modified code is granted,
16 * provided the above notices are retained, and a notice that the code was
17 * modified is included with the above copyright notice.
20 #include <lttng/tracepoint.h>
21 #include <sys/types.h>
23 TRACEPOINT_EVENT(ust_tests_fork
, before_fork
,
28 TRACEPOINT_EVENT(ust_tests_fork
, after_fork_child
,
31 ctf_integer(pid_t
, pid
, pid
)
35 TRACEPOINT_EVENT(ust_tests_fork
, after_fork_parent
,
40 TRACEPOINT_EVENT(ust_tests_fork
, after_exec
,
45 #endif /* _TRACEPOINT_UST_TESTS_FORK_H */
47 #undef TRACEPOINT_INCLUDE_FILE
48 #define TRACEPOINT_INCLUDE_FILE ./ust_tests_fork.h
50 /* This part must be outside ifdef protection */
51 #include <lttng/tracepoint-event.h>
This page took 0.03333 seconds and 4 git commands to generate.