summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2026-09-16 06:01:15 -0400
committerJakub Kicinski <kuba@kernel.org>2026-09-17 17:00:28 -0700
commit960ab631f3d8789586db71b9914b361059ddcb6e (patch)
tree68456df61195a517f8486dd5f29669f9749957a4 /tools/perf/scripts/python/stackcollapse.py
parent0a5f5d9e94dead312d32c366b917c64e552b72f7 (diff)
downloadlinux-960ab631f3d8789586db71b9914b361059ddcb6e.tar.gz
linux-960ab631f3d8789586db71b9914b361059ddcb6e.zip
selftests/tc-testing: add u32 manual table handle IDR tests
35fc: create a manual table with handle 801:, then add an auto-allocated table. Before the fix, the auto allocation reuses id 1 and hands out the same handle 0x80100000, aliasing the manual table; the test requires the manual 801: handle to keep exactly one entry in the dump. a6e8: with a live u32 table keeping the tc_u_common alive, add and delete a manual table with handle 901:, then re-add it. Unpatched, the delete leaks the raw-keyed IDR entry and the re-add fails with -ENOSPC; the test requires the re-add to succeed. Reviewed-by: Victor Nogueira <victor@mojatatu.com> Tested-by: hybris <hybris@mojatatu.ai> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/QDISC-LQFE.v1.20260911041746.2@mojatatu.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions