summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSteen Hegelund <steen.hegelund@microchip.com>2022-11-11 16:05:16 +0300
committerDavid S. Miller <davem@davemloft.net>2022-11-14 14:24:17 +0300
commit990e483981ea739b1064eadc426d986ab8880169 (patch)
treec68be1c63502f203485b425fd15790ad7163e906 /tools/perf/scripts/python/stackcollapse.py
parent3a344f99bb55cdaa15b5eccb1a9b9b88e5ce2f48 (diff)
downloadlinux-990e483981ea739b1064eadc426d986ab8880169.tar.xz
net: microchip: sparx5: Add/delete rules in sorted order
This adds a sorting criteria to rule insertion and deletion. The criteria is (in the listed order): - Rule size (largest size first) - User (based on an enumerated user value) - Priority (highest priority first, aka lowest value) When a rule is deleted the other rules may need to be moved to fill the gap to use the available VCAP address space in the best possible way. Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions