From 3a7569a7b04f5ce9299975481c5c81f84e756d32 Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Fri, 18 Feb 2022 19:15:03 -0600 Subject: [PATCH] u/trace_marker: Add COMP_TRACE_IDENT --- src/xrt/auxiliary/util/u_trace_marker.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/util/u_trace_marker.h b/src/xrt/auxiliary/util/u_trace_marker.h index 4b8766c34..ae15b6a68 100644 --- a/src/xrt/auxiliary/util/u_trace_marker.h +++ b/src/xrt/auxiliary/util/u_trace_marker.h @@ -1,4 +1,4 @@ -// Copyright 2020-2021, Collabora, Ltd. +// Copyright 2020-2022, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file @@ -60,6 +60,7 @@ u_trace_marker_init(void); #define IPC_TRACE_MARKER() U_TRACE_EVENT(ipc, __func__) #define OXR_TRACE_MARKER() U_TRACE_EVENT(oxr, __func__) #define COMP_TRACE_MARKER() U_TRACE_EVENT(comp, __func__) +#define COMP_TRACE_IDENT(IDENT) U_TRACE_EVENT(comp, #IDENT) #define SINK_TRACE_MARKER() U_TRACE_EVENT(sink, __func__)