summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/analyze-archive.py8
-rwxr-xr-xbin/analyze-kconfig.py8
-rw-r--r--lib/cli.py8
3 files changed, 8 insertions, 16 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index 1f5aba7..5638182 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -424,14 +424,6 @@ if __name__ == "__main__":
"1 is the first trace, 2 the second, and so on.",
)
parser.add_argument(
- "--function-override",
- metavar="<name> <attribute> <function>[;<name> <attribute> <function>;...]",
- type=str,
- help="Manually specify the function to fit for <name> <attribute>. "
- "A function specified this way bypasses parameter detection: "
- "It is always assigned, even if the model seems to be independent of the parameters it references.",
- )
- parser.add_argument(
"--export-traces",
metavar="DIRECTORY",
type=str,
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 51bee11..0f7c4ba 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -173,14 +173,6 @@ def main():
"Also plots the corresponding measurements. "
"If gplearn function is set, it is plotted using dashed lines.",
)
- parser.add_argument(
- "--function-override",
- metavar="<name> <attribute> <function>[;<name> <attribute> <function>;...]",
- type=str,
- help="Manually specify the function to fit for <name> <attribute>. "
- "A function specified this way bypasses parameter detection: "
- "It is always assigned, even if the model seems to be independent of the parameters it references.",
- )
parser.add_argument("kconfig_path", type=str, help="Path to Kconfig file")
parser.add_argument(
"model",
diff --git a/lib/cli.py b/lib/cli.py
index 17e7b29..0114423 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -313,6 +313,14 @@ def add_standard_arguments(parser):
type=str,
help="Ignore listed parameters during model generation",
)
+ parser.add_argument(
+ "--function-override",
+ metavar="<name> <attribute> <function>[;<name> <attribute> <function>;...]",
+ type=str,
+ help="Manually specify the function to fit for <name> <attribute>. "
+ "A function specified this way bypasses parameter detection: "
+ "It is always assigned, even if the model seems to be independent of the parameters it references.",
+ )
def parse_shift_function(param_name, param_shift):