#include <stdlib.h>
-static inline
+static inline __attribute__((always_inline))
void *zmalloc(size_t len)
{
return calloc(len, 1);
__min1 <= __min2 ? __min1: __min2; \
})
+#define LTTNG_ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
+
#endif /* _LTTNG_UST_HELPER_H */