Commit | Line | Data |
---|---|---|
ae3dd5f0 | 1 | /* |
259b6cb3 | 2 | * probes/lttng-probe-syscalls.c |
ae3dd5f0 MD |
3 | * |
4 | * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | * | |
259b6cb3 | 6 | * LTTng syscalls probes. |
17baffe2 MD |
7 | * |
8 | * Dual LGPL v2.1/GPL v2 license. | |
ae3dd5f0 MD |
9 | */ |
10 | ||
11 | #include <linux/module.h> | |
1ec65de1 | 12 | #include "../ltt-events.h" |
ae3dd5f0 MD |
13 | |
14 | /* | |
15 | * Create the tracepoint static inlines from the kernel to validate that our | |
16 | * trace event macros match the kernel we run on. | |
17 | */ | |
705e0807 | 18 | #include <trace/events/syscalls.h> |
ae3dd5f0 MD |
19 | |
20 | /* | |
21 | * Create LTTng tracepoint probes. | |
22 | */ | |
23 | #define LTTNG_PACKAGE_BUILD | |
24 | #define CREATE_TRACE_POINTS | |
d5869321 | 25 | #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module |
ae3dd5f0 | 26 | |
d5869321 | 27 | #include "../instrumentation/events/lttng-module/syscalls.h" |
ae3dd5f0 MD |
28 | |
29 | MODULE_LICENSE("GPL and additional rights"); | |
30 | MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>"); | |
259b6cb3 | 31 | MODULE_DESCRIPTION("LTTng generic syscall probes"); |