X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Ftype-serializer.h;h=d4e2a1eb38eacdf53af74610e75b2821cc5b6ce3;hb=535b0d0af1b6421ceb83e22821e85bc6919d16d9;hp=8457a4788e843db64e73b26b0583033a8d4d5db4;hpb=12e81b07455a1aef2e2bcc73004f14a7b73596fa;p=ust.git diff --git a/include/ust/type-serializer.h b/include/ust/type-serializer.h index 8457a47..d4e2a1e 100644 --- a/include/ust/type-serializer.h +++ b/include/ust/type-serializer.h @@ -1,15 +1,15 @@ #ifndef _LTT_TYPE_SERIALIZER_H #define _LTT_TYPE_SERIALIZER_H -//ust// #include "tracer.h" #include +#include #include /* * largest_align must be non-zero, equal to the minimum between the largest type * and sizeof(void *). */ -extern void _ltt_specialized_trace(const struct marker *mdata, void *probe_data, +extern void _ltt_specialized_trace(const struct ust_marker *mdata, void *probe_data, void *serialize_private, unsigned int data_size, unsigned int largest_align); @@ -18,7 +18,7 @@ extern void _ltt_specialized_trace(const struct marker *mdata, void *probe_data, * dumb-proof. It will make sure 0 is changed into 1 and unsigned long long is * changed into sizeof(void *) on 32-bit architectures. */ -static inline void ltt_specialized_trace(const struct marker *mdata, +static inline void ltt_specialized_trace(const struct ust_marker *mdata, void *probe_data, void *serialize_private, unsigned int data_size, unsigned int largest_align) @@ -178,4 +178,5 @@ struct serialize_l4412228 { uint64_t f8; unsigned char end_field[0]; } LTT_ALIGN; + #endif /* _LTT_TYPE_SERIALIZER_H */