Commit | Line | Data |
---|---|---|
644d6e9c MD |
1 | #define OVERRIDE_32_mmap |
2 | #define OVERRIDE_64_mmap | |
7e42c4ec MD |
3 | |
4 | #ifndef CREATE_SYSCALL_TABLE | |
5 | ||
cb3ef14c | 6 | SC_LTTNG_TRACEPOINT_EVENT(mmap, |
e17f92ba MD |
7 | TP_PROTO(sc_exit(long ret,) unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off), |
8 | TP_ARGS(sc_exit(ret,) addr, len, prot, flags, fd, off), | |
57ede728 MD |
9 | TP_FIELDS(sc_exit(ctf_integer(long, ret, ret)) |
10 | sc_in(ctf_integer_hex(unsigned long, addr, addr)) | |
11 | sc_in(ctf_integer(size_t, len, len)) | |
12 | sc_in(ctf_integer(int, prot, prot)) | |
13 | sc_in(ctf_integer(int, flags, flags)) | |
14 | sc_in(ctf_integer(int, fd, fd)) | |
15 | sc_in(ctf_integer(off_t, offset, off)) | |
16 | ) | |
7e42c4ec MD |
17 | ) |
18 | ||
19 | #endif /* CREATE_SYSCALL_TABLE */ |