mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
gem5 m5.objects module
This commit is contained in:
2
run
2
run
@@ -518,7 +518,7 @@ Extra options to append at the end of the emulator command line.
|
||||
gem5_exe_args = self.sh.shlex_split(self.env['gem5_exe_args'])
|
||||
if do_trace:
|
||||
gem5_exe_args.extend(['--debug-flags', trace_type, LF])
|
||||
# https://stackoverflow.com/questions/52312070/how-to-modify-a-file-under-src-python-and-run-it-without-rebuilding-in-gem5/52312071#52312071
|
||||
# https://cirosantilli.com/linux-kernel-module-cheat#m5-override-py-source
|
||||
extra_env['M5_OVERRIDE_PY_SOURCE'] = 'true'
|
||||
if self.env['trace_stdout']:
|
||||
debug_file = 'cout'
|
||||
|
||||
Reference in New Issue
Block a user