traceflags: Make "All" a valid trace flag.
authorNathan Binkert <nate@binkert.org>
Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)
committerNathan Binkert <nate@binkert.org>
Sat, 6 Dec 2008 22:18:18 +0000 (14:18 -0800)
src/python/m5/main.py

index e1403203ddfb7713b2b2b7988c5b34f1e8482f59..d34cca357b4bba4c7fd7a4cd0b9b47bd50ed3bf9 100644 (file)
@@ -310,7 +310,7 @@ def main():
             if flag.startswith('-'):
                 flag = flag[1:]
                 off = True
-            if flag not in traceflags.allFlags:
+            if flag not in traceflags.allFlags and flag != "All":
                 print >>sys.stderr, "invalid trace flag '%s'" % flag
                 sys.exit(1)