tracing: Add help strings for some of the trace flags
authorNathan Binkert <nate@binkert.org>
Mon, 19 Jan 2009 17:59:14 +0000 (09:59 -0800)
committerNathan Binkert <nate@binkert.org>
Mon, 19 Jan 2009 17:59:14 +0000 (09:59 -0800)
src/arch/sparc/SConscript
src/arch/x86/SConscript
src/base/SConscript

index 6a4c08a8efd03178f442a73dac3eb93d00a7f1a6..1482773585b61a2bcb1c1465d4c3496889129406 100644 (file)
@@ -44,7 +44,7 @@ if env['TARGET_ISA'] == 'sparc':
     Source('utility.cc')
 
     SimObject('SparcTLB.py')
-    TraceFlag('Sparc')
+    TraceFlag('Sparc', "Generic SPARC ISA stuff")
 
     if env['FULL_SYSTEM']:
         SimObject('SparcSystem.py')
index 37719e75d1c9bcaf2f88501944e6405f8b349385..a57e388ea5b9f9fb712de25a67831f50fbbec741 100644 (file)
@@ -106,11 +106,11 @@ if env['TARGET_ISA'] == 'x86':
     Source('utility.cc')
 
     SimObject('X86TLB.py')
-    TraceFlag('Predecoder')
-    TraceFlag('X86')
+    TraceFlag('Predecoder', "Predecoder debug output")
+    TraceFlag('X86', "Generic X86 ISA debugging")
 
     if env['FULL_SYSTEM']:
-        TraceFlag('LocalApic')
+        TraceFlag('LocalApic', "Local APIC debugging")
 
         SimObject('X86LocalApic.py')
         SimObject('X86System.py')
index c09fdc9768797f48ef2339fc1ac58bcdee2e7ad3..000060e937f232a5dbc0422c28d81ac054f52b94 100644 (file)
@@ -81,16 +81,18 @@ if env['USE_MYSQL']:
     Source('mysql.cc')
     Source('stats/mysql.cc')
 
-TraceFlag('Annotate')
-TraceFlag('GDBAcc')
-TraceFlag('GDBExtra')
-TraceFlag('GDBMisc')
-TraceFlag('GDBRead')
-TraceFlag('GDBRecv')
-TraceFlag('GDBSend')
-TraceFlag('GDBWrite')
-TraceFlag('SQL')
-TraceFlag('StatEvents')
+TraceFlag('Annotate', "State machine annotation debugging")
+TraceFlag('GDBAcc', "Remote debugger accesses")
+TraceFlag('GDBExtra', "Dump extra information on reads and writes")
+TraceFlag('GDBMisc', "Breakpoints, traps, watchpoints, etc.")
+TraceFlag('GDBRead', "Reads to the remote address space")
+TraceFlag('GDBRecv', "Messages received from the remote application")
+TraceFlag('GDBSend', "Messages sent to the remote application")
+TraceFlag('GDBWrite', "Writes to the remote address space")
+TraceFlag('SQL', "SQL queries sent to the server")
+TraceFlag('StatEvents', "Statistics event tracking")
 
-CompoundFlag('GDBAll', [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend',
-    'GDBRecv', 'GDBExtra' ])
+CompoundFlag('GDBAll',
+    [ 'GDBMisc', 'GDBAcc', 'GDBRead', 'GDBWrite', 'GDBSend', 'GDBRecv',
+      'GDBExtra' ],
+    desc="All Remote debugging flags")