summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-08-07 01:50:09 +0300
committerRob Herring <robh@kernel.org>2020-08-19 23:31:58 +0300
commit7ba58fff001da7e7296dbed8ddc13212300d1c57 (patch)
tree7013ac0f4e98632bec6ef00fbc93be68b495dd3c /tools/perf/scripts/python/check-perf-trace.py
parentb8a49399fb7abd4ec402bea1fec5a974053591b6 (diff)
downloadlinux-7ba58fff001da7e7296dbed8ddc13212300d1c57.tar.xz
dt-bindings: Validate DT binding schema in a single call
As the number of binding schemas has grown, the time to run dt_binding_check has gotten pretty slow. A large part of this is due to the slow startup time of Python (a well documented problem). There's not currently any benefit to running dt-doc-validate one file at a time, so let's switch it to run a single rule. Doing this means we loose the make parallelism, but we can use xargs instead. This speeds up the validation time from several minutes to <10 sec. Since the validation is a single step with no output, we move running it as part of the processed-schema-examples.json target. We also need to reorder the extra-y entries so the validation is run first rather than after all the examples are extracted. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions