)
)
+#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM
+
/*
* Clone()'s `flags` field has two parts:
* 1. exit signal: the least significant byte of the `unsigned long` is
)
#endif
+#endif /* CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM */
#define OVERRIDE_32_clone
#define OVERRIDE_64_clone
TP_FIELDS(
sc_exit(ctf_integer(long, ret, ret))
sc_in(
+#ifdef CONFIG_LTTNG_EXPERIMENTAL_BITWISE_ENUM
ctf_custom_field(
ctf_custom_type(
lttng_kernel_static_type_struct(2, LTTNG_CLONE_FLAGS, lttng_alignof(unsigned long) * CHAR_BIT)
ctf_integer_type(unsigned long, clone_flags)
)
)
+#else
+ ctf_integer_hex(unsigned long, flags, clone_flags)
+#endif
)
sc_in(ctf_integer_hex(unsigned long, newsp, newsp))
sc_in(ctf_integer_hex(void *, parent_tid, parent_tid))
sc_in(
ctf_custom_field(
ctf_custom_type(
- lttng_kernel_static_type_struct(ARRAY_SIZE(epoll_ctl_fields), epoll_ctl_fields, 0)
+ (const struct lttng_kernel_type_common *) &epoll_ctl_fields_struct
),
event,
ctf_custom_code(
ctf_custom_field( \
ctf_custom_type( \
lttng_kernel_static_type_sequence("fds_length", \
- lttng_kernel_static_type_struct(ARRAY_SIZE(lttng_epoll_wait_fields), lttng_epoll_wait_fields, 0), \
+ (const struct lttng_kernel_type_common *) <tng_epoll_wait_fields_struct, \
0, \
none) \
), \