From d5b72485f5155703cac83bbc3ffac065fba2829c Mon Sep 17 00:00:00 2001 From: Nathanael Premillieu Date: Mon, 9 Aug 2021 15:27:40 +0200 Subject: [PATCH] misc: advertise auto-compress debug output By appending .gz to the --debug-file debug output filename, it get automatically compressed while being written. Advertise this feature in the --debug-file option help Change-Id: I7a4696bc288a1f5ad9f47c6f8a2359b06b134d6f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/49670 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/python/m5/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 9342ad0bd7..ab723951bf 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -143,7 +143,8 @@ def parse_options(): option("--debug-end", metavar="TICK", type='int', help="End debug output at TICK") option("--debug-file", metavar="FILE", default="cout", - help="Sets the output file for debug [Default: %default]") + help="Sets the output file for debug. Append '.gz' to the name for it" + " to be compressed automatically [Default: %default]") option("--debug-ignore", metavar="EXPR", action='append', split=':', help="Ignore EXPR sim objects") option("--remote-gdb-port", type='int', default=7000,