aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRoss Zwisler <[email protected]>2016-05-20 17:02:29 -0700
committerLinus Torvalds <[email protected]>2016-05-20 17:58:30 -0700
commit643b57d0a9bd4c93625a2f5da4cebc3ceb402b9b (patch)
tree2ccd9b48e111a82f361538d41ad15387c40cd296 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent21ef533931f73a8e963a6107aa5ec51b192f28be (diff)
radix tree test suite: multi-order iteration test
Add a unit test to verify that we can iterate over multi-order entries properly via a radix_tree_for_each_slot() loop. This was done with a single, somewhat complicated configuration that was meant to test many of the various corner cases having to do with multi-order entries: - An iteration could begin at a sibling entry, and we need to return the canonical entry. - We could have entries of various orders in the same slots[] array. - We could have multi-order entries at a nonzero height, followed by indirect pointers to more radix tree nodes later in that same slots[] array. Signed-off-by: Ross Zwisler <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Cc: Konstantin Khlebnikov <[email protected]> Cc: Kirill Shutemov <[email protected]> Cc: Jan Kara <[email protected]> Cc: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions