summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-12-13 14:24:51 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-14 08:57:18 -0800
commite1cf36823407751d1ad1168bc718cf5a0ac5dbf4 (patch)
treeb5c66d31491bba77d3a5daa0ce7182819c01b9cb /tools/perf/scripts/python
parent47b404580bd92ec8dd3e691020bd515f6af262af (diff)
ion: index client->handles rbtree by buffer
The only remaining users of the client->handles rbtree are iterating through it like a list. Keep the rbtree, but change its index to be the buffer address instead of the handle address, which makes ion_handle_lookup a fast rbtree search. Signed-off-by: Colin Cross <ccross@android.com> [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions