mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
fix run-toolchain, qemu-monitor, trace-boot, trace2line, bisect-linux-boot-gem5. Fixes part of #63
I'm sad no one reported qemu-monitor break, that one is kind of important. count.out arguments broke it as an init program, since the kernel adds trash parameters to every init. Is anyone using this repo, I wonder? Keep pushing, keep pushing. One day it gets good enough, and the whole world will see.
This commit is contained in:
@@ -170,7 +170,14 @@ class LkmcCliFunction(cli_function.CliFunction):
|
||||
Common functionality shared across our CLI functions:
|
||||
|
||||
* command timing
|
||||
* some common flags, e.g.: --arch, --dry-run, --quiet, --verbose
|
||||
* a lot some common flags, e.g.: --arch, --dry-run, --quiet, --verbose
|
||||
* a lot of helpers that depend on self.env
|
||||
+
|
||||
self.env contains the command line arguments + a ton of values derived from those.
|
||||
+
|
||||
It would be beautiful to do this evaluation in a lazy way, e.g. with functions +
|
||||
cache decorators:
|
||||
https://stackoverflow.com/questions/815110/is-there-a-decorator-to-simply-cache-function-return-values
|
||||
'''
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user