base: Tag API methods to debug.hh
authorHoa Nguyen <hoanguyen@ucdavis.edu>
Mon, 24 Aug 2020 05:46:41 +0000 (22:46 -0700)
committerHoa Nguyen <hoanguyen@ucdavis.edu>
Tue, 8 Sep 2020 16:31:54 +0000 (16:31 +0000)
Change-Id: Ic4395f3594cbc156a2b678710a3ed4717ce87a81
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33257
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/debug.hh

index a5dc43c43ca658c7c3eeac9952ae89d1ba2dcef1..7cc71375b10b628d6707421e74fab2f010ca1639 100644 (file)
@@ -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__