aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCody P Schafer <[email protected]>2013-09-11 14:25:11 -0700
committerLinus Torvalds <[email protected]>2013-09-11 15:59:20 -0700
commit2b529089257705499207ce7da9d0e3ae26a844ba (patch)
treefffde388176946c7de6eaddd4e7bdd2b7ea27ffd /tools/perf/scripts/python
parent9dee5c51516d2c3fff22633c1272c5652e68075a (diff)
rbtree: add rbtree_postorder_for_each_entry_safe() helper
Because deletion (of the entire tree) is a relatively common use of the rbtree_postorder iteration, and because doing it safely means fiddling with temporary storage, provide a helper to simplify postorder rbtree iteration. Signed-off-by: Cody P Schafer <[email protected]> Reviewed-by: Seth Jennings <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Michel Lespinasse <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions