aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-05-04 14:08:46 +0100
committerChris Wilson <[email protected]>2017-05-04 15:40:38 +0100
commit5e5655c32de83a0151de0c4993d7783c22b6f9b4 (patch)
tree3436e783ba56065ce254fc3ac3c4de9582fab0be /tools/perf/scripts/python/stackcollapse.py
parent95aebcb2da73079f9ecb7f4e353af71ff1f04c05 (diff)
drm/i915: Micro-optimise hotpath through intel_ring_begin()
Typically, there is space available within the ring and if not we have to wait (by definition a slow path). Rearrange the code to reduce the number of branches and stack size for the hotpath, accomodating a slight growth for the wait. v2: Fix the new assert that packets are not larger than the actual ring. v3: Make the parameters unsigned as well to make usage. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions