1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
3 * lttng-syscalls-enum.c
5 * LTTng syscall enum types
7 * Copyright (C) 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (C) 2021 Francis Deslauriers <francis.deslauriers@efficios.com>
11 #include <lttng/events.h>
13 #include "lttng-syscalls.h"
15 #define LTTNG_PACKAGE_BUILD
16 #define CREATE_TRACE_POINTS
17 #define TP_MODULE_NOINIT
18 #define TRACE_INCLUDE_PATH instrumentation/syscalls
20 #define PARAMS(args...) args
25 #define sc_in(...) __VA_ARGS__
29 #define sc_inout(...) __VA_ARGS__
31 #define TP_PROBE_CB(_template)
32 #define SC_LTTNG_TRACEPOINT_EVENT(_name, _proto, _args, _fields)
33 #define SC_LTTNG_TRACEPOINT_EVENT_CODE(_name, _proto, _args, _locvar, _code_pre, _fields, _code_post)
34 #define SC_LTTNG_TRACEPOINT_EVENT_CLASS_NOARGS(_name, _fields)
35 #define SC_LTTNG_TRACEPOINT_EVENT_INSTANCE_NOARGS(_template, _name)
37 #define LTTNG_TRACEPOINT_TYPE_DEFINE_EXPORT
39 #define SC_LTTNG_TRACEPOINT_ENUM(_name, _values) \
40 LTTNG_TRACEPOINT_ENUM(_name, PARAMS(_values))
43 #define TRACE_SYSTEM syscall_entry_integers
44 #define TRACE_INCLUDE_FILE syscalls_integers
45 #include <instrumentation/syscalls/syscalls_integers.h>
46 #undef TRACE_INCLUDE_FILE
48 #define TRACE_SYSTEM syscall_entry_pointers
49 #define TRACE_INCLUDE_FILE syscalls_pointers
50 #include <instrumentation/syscalls/syscalls_pointers.h>
51 #undef TRACE_INCLUDE_FILE
53 #undef SC_LTTNG_TRACEPOINT_ENUM
This page took 0.087173 seconds and 4 git commands to generate.