diff options
| author | Chris Wilson <[email protected]> | 2019-08-08 17:24:07 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-08 21:54:20 +0100 |
| commit | 5b5efdf79abffb959cfbdf1dad063358d23069aa (patch) | |
| tree | 219a5b1090c99150a5679ac7fec25fc8781b18bc /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c990b4c3597d6c75dbc2937401ce32838adc77fc (diff) | |
drm/i915: Make debugfs/per_file_stats scale better
Currently we walk the entire list of obj->vma for each obj within a file
to find the matching vma of this context. Since we know we are searching
for a particular vma bound to a user context, we can use the rbtree to
search for it rather than repeatedly walk everything.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions