[Intel-gfx] [PATCH 1/2] drm/i915: Add tracepoints
Eric Anholt
eric at anholt.net
Sun Aug 30 04:08:39 CEST 2009
On Tue, 2009-08-25 at 23:33 +0100, Chris Wilson wrote:
> 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
Fail. .config attached.
Kernel: arch/x86/boot/bzImage is ready (#215)
Building modules, stage 2.
MODPOST 139 modules
ERROR: "__tracepoint_i915_gem_object_change_domain" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_destroy" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_wait_begin" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_clflush" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_wait_end" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_create" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_retire" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_bind" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_complete" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_unbind" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_object_get_fence" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_submit" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__tracepoint_i915_gem_request_flush" [drivers/gpu/drm/i915/i915.ko] undefined!
make[1]: *** [__modpost] Error 1
--
Eric Anholt
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: text/x-mpsub
Size: 79587 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090829/09b0e87f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090829/09b0e87f/attachment.sig>
More information about the Intel-gfx
mailing list