Add script to automate the syscall extraction process
[lttng-modules.git] / instrumentation / syscalls / headers / syscalls_integers_override.h
CommitLineData
7e42c4ec
MD
1#ifndef CREATE_SYSCALL_TABLE
2
769ad370
MD
3#define OVERRIDE_32_mmap
4#define OVERRIDE_64_mmap
cb3ef14c 5SC_LTTNG_TRACEPOINT_EVENT(mmap,
769ad370
MD
6 TP_PROTO(sc_exit(unsigned long ret,)
7 unsigned long addr, unsigned long len,
8 unsigned long prot, unsigned long flags,
9 unsigned long fd, unsigned long off),
e17f92ba 10 TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off),
769ad370 11 TP_FIELDS(sc_exit(ctf_integer_hex(unsigned long, ret, ret))
57ede728
MD
12 sc_in(ctf_integer_hex(unsigned long, addr, addr))
13 sc_in(ctf_integer(size_t, len, len))
14 sc_in(ctf_integer(int, prot, prot))
15 sc_in(ctf_integer(int, flags, flags))
16 sc_in(ctf_integer(int, fd, fd))
17 sc_in(ctf_integer(off_t, offset, off))
18 )
7e42c4ec
MD
19)
20
21#endif /* CREATE_SYSCALL_TABLE */
This page took 0.033505 seconds and 4 git commands to generate.