From a5165cc2ada9e51c3465608243ca2e6445a8b0c4 Mon Sep 17 00:00:00 2001 From: Hoa Nguyen Date: Sun, 23 Aug 2020 22:46:41 -0700 Subject: [PATCH] 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 --- src/base/debug.hh | 7 +++++++ 1 file changed, 7 insertions(+) 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__ -- 2.30.2