summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 09:41:26 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 09:41:26 +0100
commitcfc77a403e9487580a966669cc4be0f90d464d62 (patch)
tree7134b0787808094d182ea3223c64a723517ff734 /bin
parentc806d27c1d5d2495096be83911d84ea5ed43d0ee (diff)
filter-param: support basic numeric operations and ∈ conditions
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py2
-rwxr-xr-xbin/analyze-kconfig.py2
-rwxr-xr-xbin/analyze-log.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index d397893..e79d690 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -285,7 +285,7 @@ def main():
if args.filter_param:
args.filter_param = list(
- map(lambda x: x.split("="), args.filter_param.split(","))
+ map(dfatool.cli.parse_filter_string, args.filter_param.split(";"))
)
else:
args.filter_param = list()
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 4a1cb8c..3187609 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -295,7 +295,7 @@ def main():
if args.filter_param:
args.filter_param = list(
- map(lambda x: x.split("="), args.filter_param.split(","))
+ map(dfatool.cli.parse_filter_string, args.filter_param.split(";"))
)
dfatool.utils.filter_aggregate_by_param(
by_name, parameter_names, args.filter_param
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index b3c4fba..6fa279a 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -63,7 +63,7 @@ def main():
if args.filter_param:
args.filter_param = list(
- map(lambda x: x.split("="), args.filter_param.split(","))
+ map(dfatool.cli.parse_filter_string, args.filter_param.split(";"))
)
else:
args.filter_param = list()