gem5/src/python/m5
Andreas Sandberg 7110d2313e python: Automatically disable listeners in batch setups
Determine if gem5 is running in a batch environment by checking if
STDIN is wired to a TTY or not. If the simulator is running in a batch
environment, disable all listeners by default. This behavior can be
overridden using the --enable-listeners option.

Change-Id: I404c709135339144216bf08a2769c016c543333c
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sean McGoogan <sean.mcgoogan@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2322
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
2017-03-21 10:30:02 +00:00
..
internal python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
objects swig: make all generated files go into the m5.internal package 2010-09-12 15:41:34 -07:00
stats python: Add a generalized mechanism to configure stats 2017-02-27 11:24:59 +00:00
util python: Automatically disable listeners in batch setups 2017-03-21 10:30:02 +00:00
__init__.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
config.py Fix up regression execution to better handle tests that end abnormally. 2009-03-07 16:58:51 -08:00
core.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
debug.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
event.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
main.py python: Automatically disable listeners in batch setups 2017-03-21 10:30:02 +00:00
options.py python: cleanup options parsing stuff so that it properly deals with defaults. 2008-10-06 09:31:51 -07:00
params.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
proxy.py config: Avoid generating a reference to myself for Parent.any 2014-05-09 18:58:47 -04:00
SimObject.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
simulate.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
ticks.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00
trace.py python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00