summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYiwei Lin <s921975628@gmail.com>2026-10-05 17:32:33 +0800
committerPeter Zijlstra <peterz@infradead.org>2026-10-13 13:51:27 +0200
commit9fc91ae6852aa6e63c08b6093634cfcc85021b4e (patch)
treed810185e050e189cf2ab59b5ba5237eaef13d208 /tools/perf/scripts/python
parent840e23085b03d30e85b61077903de7a7ea086a07 (diff)
rbtree_test: Use rb_add() and rb_add_cached() for the basic tests
insert() and insert_cached() open-code exactly what the generic rb_add() and rb_add_cached() helpers do. Use the helpers instead. Besides removing duplicated code, this makes rbtree_test cover the helpers themselves, which is what most in-tree rbtree users call nowadays. Signed-off-by: Yiwei Lin <s921975628@gmail.com> Assisted-by: LLM Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20261005093236.62702-2-s921975628@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions