aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTiago Vignatti <[email protected]>2015-12-22 19:36:47 -0200
committerDaniel Vetter <[email protected]>2016-02-09 11:21:03 +0100
commit346400c801079114e89451b3191eaa4407507841 (patch)
tree06adde855cabfbd44b752b235e7e460fd854f896 /tools/perf/scripts/python/stackcollapse.py
parent831e9da7dc5c22fd2a5fb64e999f6e077a4338c3 (diff)
drm/i915: Implement end_cpu_access
This function is meant to be used with dma-buf mmap, when finishing the CPU access of the mapped pointer. The error case should be rare to happen though, requiring the buffer become active during the sync period and for the end_cpu_access to be interrupted. So we use a uninterruptible mutex_lock to spit out when it ever happens. v2: disable interruption to make sure errors are reported. v3: update to the new end_cpu_access API. v7: use .write = false cause it doesn't need to know whether it's write. Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Tiago Vignatti <[email protected]> Reviewed-by: Stéphane Marchesin <[email protected]> Signed-off-by: Daniel Vetter <[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