aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-01-04 10:11:00 +0000
committerDaniel Vetter <[email protected]>2016-01-05 08:59:48 +0100
commit98a8883ad419128493b8cfab3982d58785deabda (patch)
treecfb8d888c0957c543090829e4b9eabad758ba90e /tools/perf/scripts/python/call-graph-from-postgresql.py
parent6984128d01cf935820a0563f3a00c6623ba58109 (diff)
drm: Only bump object-reference count when adding first handle
We only need a single reference count for all handles (i.e. non-zero obj->handle_count) and so can trim a few atomic operations by only taking the reference on the first handle and dropping it after the last. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions