#include <stdarg.h>
#include <ust/immediate.h>
-#include <ust/kernelcompat.h>
+#include <ust/core.h>
#include <urcu/list.h>
#include <ust/processor.h>
+#include <ust/kcompat/kcompat.h>
#include <bits/wordsize.h>
_ASM_PTR "0\n\t" /* tp_cb */ \
_ASM_PTR "(1f)\n\t" /* location */ \
".previous\n\t" \
- ARCH_COPY_ADDR("%[outptr]") \
"1:\n\t" \
+ ARCH_COPY_ADDR("%[outptr]") \
: [outptr] "=r" (m) ); \
\
save_registers(®s)
#define __trace_mark_tp_counter(channel, name, unique, call_private, tp_name, tp_cb, format, args...) \
do { \
- struct marker m; \
+ struct registers regs; \
void __check_tp_type(void) \
{ \
register_trace_##tp_name(tp_cb); \
} \
- DEFINE_MARKER_TP(channel, name, tp_name, tp_cb, format, unique, m);\
+ DEFINE_MARKER_TP(channel, name, tp_name, tp_cb, format);\
__mark_check_format(format, ## args); \
(*__mark_##channel##_##name.call)(&__mark_##channel##_##name, \
call_private, ®s, ## args); \