start moving malloc and friends in

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-08-11 00:00:00 +00:00
parent 975b15b814
commit d7a24ea200
25 changed files with 222 additions and 26 deletions

2
run
View File

@@ -481,7 +481,7 @@ Extra options to append at the end of the emulator command line.
else:
if self.env['gem5_script'] == 'fs':
if self.env['gem5_restore'] is not None:
# https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-checkpoint-internals
# https://cirosantilli.com/linux-kernel-module-cheat#gem5-checkpoint-internals
cpt_dirs = self.gem5_list_checkpoint_dirs()
cpt_dir = cpt_dirs[-self.env['gem5_restore']]
cpt_dirs_sorted_by_tick = sorted(cpt_dirs, key=lambda x: int(x.split('.')[1]))