From: Hoa Nguyen Date: Mon, 24 Aug 2020 05:46:41 +0000 (-0700) Subject: base: Tag API methods to debug.hh X-Git-Tag: v20.1.0.0~77 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5165cc2ada9e51c3465608243ca2e6445a8b0c4;p=gem5.git base: Tag API methods to debug.hh Change-Id: Ic4395f3594cbc156a2b678710a3ed4717ce87a81 Signed-off-by: Hoa Nguyen Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33257 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/base/debug.hh b/src/base/debug.hh index a5dc43c43..7cc71375b 100644 --- a/src/base/debug.hh +++ b/src/base/debug.hh @@ -134,10 +134,17 @@ void clearDebugFlag(const char *string); void dumpDebugFlags(); +/** + * \def DTRACE(x) + * + * @ingroup api_trace + * @{ + */ #if TRACING_ON # define DTRACE(x) (Debug::x) #else // !TRACING_ON # define DTRACE(x) (false) #endif // TRACING_ON +/** @} */ // end of api_trace #endif // __BASE_DEBUG_HH__