mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
common: add --qemu option to override configs
This commit is contained in:
@@ -20,7 +20,7 @@ parser = common.get_argparse(argparse_args={
|
||||
args = common.setup(parser)
|
||||
sys.exit(subprocess.Popen([
|
||||
os.path.join(common.root_dir, 'trace2line.sh'),
|
||||
'true' if args.gem5 else 'false',
|
||||
'true' if common.emulator == 'gem5' else 'false',
|
||||
common.trace_txt_file,
|
||||
common.get_toolchain_tool('addr2line'),
|
||||
common.vmlinux,
|
||||
@@ -29,7 +29,7 @@ sys.exit(subprocess.Popen([
|
||||
|
||||
# This was the full conversion attempt.
|
||||
|
||||
# if args.gem5:
|
||||
# if common.emulator == 'gem5':
|
||||
# def get_pc(line):
|
||||
# # TODO
|
||||
# # stdin = sed -r 's/^.* (0x[^. ]*)[. ].*/\1/' "$common_trace_txt_file")
|
||||
|
||||
Reference in New Issue
Block a user