mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
Fix import_path circular dependency by splitting it out.
Use import thread_pool instead from, from is evil. Fix poweroff.out path for ./trace-boot.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import os
|
||||
|
||||
import common
|
||||
import lkmc.import_path
|
||||
|
||||
class Main(common.LkmcCliFunction):
|
||||
def __init__(self):
|
||||
@@ -35,7 +36,7 @@ More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#g
|
||||
# Also, lx-symbols overrides the add-symbol-file commands.
|
||||
args['no_lxsymbols'] = True
|
||||
args['break_at'] = self.env['break_at']
|
||||
rungdb = common.import_path_main('run-gdb')
|
||||
rungdb = lkmc.import_path.import_path_main('run-gdb')
|
||||
return rungdb(**args)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user