From: Chris Wilson Date: Tue, 25 Aug 2009 10:15:50 +0000 (+0100) Subject: drm/i915: Add tracepoints X-Git-Tag: v2.6.32-rc1~52^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5d22f76dc721f3acb7a3dadc657a221e487fb7;p=pandora-kernel.git drm/i915: Add tracepoints By adding tracepoint equivalents for WATCH_BUF/EXEC we are able to monitor the lifetimes of objects, requests and significant events. These events can then be probed using the tracing frameworks, such as systemtap and, in particular, perf. For example to record the stack trace for every GPU stall during a run, use $ perf record -e i915:i915_gem_request_wait_begin -c 1 -g And $ perf report to view the results. [Updated to fix compilation issues caused.] Cc: Arjan van de Ven Cc: Ben Gamari Signed-off-by: Chris Wilson --- Reading git-diff-tree failed