aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-10-27 07:26:29 -0500
committerJakub Kicinski <kuba@kernel.org>2022-10-28 22:06:47 -0700
commit2b87d721999a7591af7a63c1908084b1d59ba4e5 (patch)
treed1cfac953dbcd68fd61faca50285be2274d509fa /tools/perf/scripts/python/bin/stackcollapse-report
parentnet: ipa: no more global filtering starting with IPA v5.0 (diff)
downloadlinux-2b87d721999a7591af7a63c1908084b1d59ba4e5.tar.gz
linux-2b87d721999a7591af7a63c1908084b1d59ba4e5.zip
net: ipa: more completely check endpoint validity
Ensure all defined TX endpoints are in the range [0, CONS_PIPES) and defined RX endpoints are within [PROD_LOWEST, PROD_LOWEST+PROD_PIPES). Modify the way local variables are used to make the checks easier to understand. Check for each endpoint being in valid range in the loop, and drop the logical-AND check of initialized against unavailable IDs. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions