stats: Add support for listing available formats
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 30 Jul 2019 12:32:49 +0000 (13:32 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 2 Sep 2019 08:36:49 +0000 (08:36 +0000)
commit24b56f92731091fb9a6c989affb04cca3109b29b
treea410009a011d2ca2ad2b2322a351d3ee722e608b
parent4e9448f19b86bf4bca0d79f6b2b7812e90457280
stats: Add support for listing available formats

Add a command line option to list available stat formats and their
documentation.

Change-Id: I7f5f2272d9b0176639f59f2efedb9cab2f7da5b9
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19670
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/python/m5/main.py
src/python/m5/stats/__init__.py