-
Notifications
You must be signed in to change notification settings - Fork 1
/
trace.sh
37 lines (36 loc) · 1.08 KB
/
trace.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
sudo trace-cmd record \
-e "i915:i915_pipe_update_start" \
-e "i915:i915_pipe_update_vblank_evaded" \
-e "i915:i915_pipe_update_end" \
-e "i915:i915_gem_object_create" \
-e "i915:i915_gem_shrink" \
-e "i915:i915_vma_bind" \
-e "i915:i915_vma_unbind" \
-e "i915:i915_gem_object_pwrite" \
-e "i915:i915_gem_object_pread" \
-e "i915:i915_gem_object_fault" \
-e "i915:i915_gem_object_clflush" \
-e "i915:i915_gem_object_destroy" \
-e "i915:i915_gem_evict" \
-e "i915:i915_gem_evict_node" \
-e "i915:i915_gem_evict_vm" \
-e "i915:i915_gem_ring_sync_to" \
-e "i915:i915_request_queue" \
-e "i915:i915_request_add" \
-e "i915:i915_request_submit" \
-e "i915:i915_request_execute" \
-e "i915:i915_request_in" \
-e "i915:i915_request_out" \
-e "i915:intel_engine_notify" \
-e "i915:i915_request_retire" \
-e "i915:i915_request_wait_begin" \
-e "i915:i915_request_wait_end" \
-e "i915:i915_reg_rw" \
-e "i915:intel_gpu_freq_change" \
-e "i915:i915_ppgtt_create" \
-e "i915:i915_ppgtt_release" \
-e "i915:i915_context_create" \
-e "i915:i915_context_free" \
-e "i915:switch_mm" \
sleep 3
trace-cmd report >trace.log