- TP_STRUCT__entry(
- sc_exit(__field(long, ret))
- sc_out(__field_hex(unsigned *, cpup))
- sc_out(__field_hex(unsigned *, nodep))
- sc_inout(__field_hex(void *, tcache))),
- TP_fast_assign(
- sc_exit(tp_assign(ret, ret))
- sc_out(tp_assign(cpup, cpup))
- sc_out(tp_assign(nodep, nodep))
- sc_inout(tp_assign(tcache, tcache))),
- TP_printk()
-)
-
-#define OVERRIDE_32_pipe
-#define OVERRIDE_64_pipe
-SC_LTTNG_TRACEPOINT_EVENT(pipe,
- TP_PROTO(sc_exit(long ret,) int * fildes),
- TP_ARGS(sc_exit(ret,) fildes),
- TP_STRUCT__entry(sc_exit(__field(long, ret))
- sc_out(__array(int, fildes, 2))
- ),
- TP_fast_assign(sc_exit(tp_assign(ret, ret))
- sc_out(tp_memcpy_from_user(fildes, fildes, 2))
- ),
- TP_printk()
+ TP_FIELDS(
+ sc_exit(ctf_integer(long, ret, ret))
+ sc_out(ctf_integer_hex(unsigned *, cpup, cpup))
+ sc_out(ctf_integer_hex(unsigned *, nodep, nodep))
+ sc_inout(ctf_integer_hex(void *, tcache, tcache))
+ )