mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Get rid of imp, started giving deprecation warning every time in Python 3.7 in Ubuntu 19.04.
Please python stop torturing me with refactors. Make ./run -u blow up if executable not found, otherwise I go crazy. Get ./test-gdb back to life after the ./run relative path refactor, forgot to test this.
This commit is contained in:
@@ -14,7 +14,7 @@ More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#t
|
||||
|
||||
def timed_main(self):
|
||||
args = self.get_common_args()
|
||||
run = self.import_path_main('run')
|
||||
run = common.import_path_main('run')
|
||||
if self.env['emulator'] == 'gem5':
|
||||
args['trace'] = 'Exec,-ExecSymbol,-ExecMicro'
|
||||
run.main(**args)
|
||||
@@ -23,7 +23,7 @@ More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#t
|
||||
run_args['trace'] = 'exec_tb'
|
||||
run_args['quit_after_boot'] = True
|
||||
run.main(**run_args)
|
||||
qemu_trace2txt = self.import_path_main('qemu-trace2txt')
|
||||
qemu_trace2txt = common.import_path_main('qemu-trace2txt')
|
||||
qemu_trace2txt.main(**args)
|
||||
# Instruction count.
|
||||
# We could put this on a separate script, but it just adds more arch boilerplate to a new script.
|
||||
|
||||
Reference in New Issue
Block a user