summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <Steve.Reinhardt@amd.com>2008-11-17 12:41:50 -0800
committerSteve Reinhardt <Steve.Reinhardt@amd.com>2008-11-17 12:41:50 -0800
commitce4c9a7c10f9a2f91736592f32dcfeb317f17820 (patch)
tree8f6f9e01de166ea9f3c33fc4391f7ece9778880b
parent3701794d330e9c86595761989cc8d59bbe8c88b1 (diff)
downloadgem5-ce4c9a7c10f9a2f91736592f32dcfeb317f17820.tar.xz
Sort trace flags before printing them.
-rw-r--r--src/python/m5/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index a4324a1d6..e1403203d 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -220,9 +220,11 @@ def main():
done = True
print "Base Flags:"
+ traceflags.baseFlags.sort()
print_list(traceflags.baseFlags, indent=4)
print
print "Compound Flags:"
+ traceflags.compoundFlags.sort()
for flag in traceflags.compoundFlags:
if flag == 'All':
continue