mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
run kind of runs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
import common
|
||||
parser = common.get_argparse(
|
||||
parser = self.get_argparse(
|
||||
argparse_args={'description':'Get the value of a gem5 stat from the stats.txt file.'}
|
||||
)
|
||||
parser.add_argument(
|
||||
@@ -9,6 +9,6 @@ parser.add_argument(
|
||||
help='Python regexp matching the full stat name of interest',
|
||||
nargs='?',
|
||||
)
|
||||
args = common.setup(parser)
|
||||
stats = common.get_stats(kwargs['stat'])
|
||||
args = self.setup(parser)
|
||||
stats = self.get_stats(kwargs['stat'])
|
||||
print('\n'.join(stats))
|
||||
|
||||
Reference in New Issue
Block a user