summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-20 12:40:59 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-07-25 18:23:51 +0200
commit3bb73aba1ed5198a2c1dfaac4f3c95459930d84a (patch)
treecda853891463b2df4e440775a7faf415a143395c /tools/perf/scripts/python/syscall-counts-by-pid.py
parent540a8950047579a368a9b8fdcc15ab7fdb9921d3 (diff)
drm/i915: Allow late allocation of request for i915_add_request()
Request preallocation was added to i915_add_request() in order to support the overlay. However, not all users care and can quite happily ignore the failure to allocate the request as they will simply repeat the request in the future. By pushing the allocation down into i915_add_request(), we can then remove some rather ugly error handling in the callers. v2: Nullify request->file_priv otherwise we chase a garbage pointer when retiring requests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions