Commit | Line | Data |
---|---|---|
1 | #ifndef LTTNG_SYSCALLS_H | |
2 | #define LTTNG_SYSCALLS_H | |
3 | ||
4 | #include <stddef.h> | |
5 | ||
6 | #include <lttng/events.h> | |
7 | struct trace_syscall_entry { | |
8 | void *event_func; | |
9 | const struct lttng_kernel_event_desc *desc; | |
10 | const struct lttng_kernel_event_field **fields; | |
11 | unsigned int nrargs; | |
12 | }; | |
13 | ||
14 | struct trace_syscall_table { | |
15 | const struct trace_syscall_entry *table; | |
16 | const size_t len; | |
17 | }; | |
18 | #endif /* LTTNG_SYSCALLS_H */ |