mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
gem5: --debug-flags without =, looks nicer whenever it can be done
This commit is contained in:
2
run
2
run
@@ -407,7 +407,7 @@ Extra options to append at the end of the emulator command line.
|
||||
memory = '{}B'.format(self.env['memory'])
|
||||
gem5_exe_args = self.sh.shlex_split(self.env['gem5_exe_args'])
|
||||
if do_trace:
|
||||
gem5_exe_args.extend(['--debug-flags={}'.format(trace_type), LF])
|
||||
gem5_exe_args.extend(['--debug-flags', trace_type, LF])
|
||||
extra_env['M5_PATH'] = self.env['gem5_system_dir']
|
||||
# https://stackoverflow.com/questions/52312070/how-to-modify-a-file-under-src-python-and-run-it-without-rebuilding-in-gem5/52312071#52312071
|
||||
extra_env['M5_OVERRIDE_PY_SOURCE'] = 'true'
|
||||
|
||||
Reference in New Issue
Block a user