Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18309>
#include <stdint.h>
#include <stdio.h>
+#include "util/macros.h"
#include "util/u_atomic.h"
#include "util/u_queue.h"
* Return whether instrumentations should be enabled or not. This is called
* from tracepoints.
*/
-static inline bool
+static ALWAYS_INLINE bool
u_trace_instrument(void)
{
extern int _u_trace_instrument;
, ${arg.type} ${arg.var}
% endfor
);
-static inline void trace_${trace_name}(
+static ALWAYS_INLINE void trace_${trace_name}(
struct u_trace *ut
% if need_cs_param:
, void *cs