mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sources/perf: Disable the broken i915 tracepoints for now.
I need to build a new kernel and test the tracepoints, but disable these for the moment to prevent people from getting surprising garbage timelines.
This commit is contained in:
committed by
Christian Hergert
parent
94bb2fba0d
commit
23a0cebfe2
@ -85,17 +85,15 @@ static const SpOptionalTracepoint optional_tracepoints[] = {
|
|||||||
|
|
||||||
/* I915 GPU execution.
|
/* I915 GPU execution.
|
||||||
*
|
*
|
||||||
* I don't know i915's model too well any more, but I think while
|
* These are the wrong events to be watching. We need to use the
|
||||||
* there's an add that hasn't been retired (use the ring and seqno
|
* ones under CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS instead.
|
||||||
* to correlate them, I think), then the GPU is busy. The retires
|
|
||||||
* may or may not be delayed a while if the CPU isn't currently
|
|
||||||
* blocking on the GPU -- I would think you'd get them driven from
|
|
||||||
* the done IRQ handler, but I haven't verified that.
|
|
||||||
*/
|
*/
|
||||||
|
#if 0
|
||||||
{ DRM_I915_BEGIN, "i915/i915_gem_request_add",
|
{ DRM_I915_BEGIN, "i915/i915_gem_request_add",
|
||||||
(const char *[]){ "ctx", "ring", "seqno", NULL } },
|
(const char *[]){ "ctx", "ring", "seqno", NULL } },
|
||||||
{ DRM_I915_END, "i915/i915_gem_request_retire",
|
{ DRM_I915_END, "i915/i915_gem_request_retire",
|
||||||
(const char *[]){ "ctx", "ring", "seqno", NULL } },
|
(const char *[]){ "ctx", "ring", "seqno", NULL } },
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Struct describing tracepoint events.
|
/* Struct describing tracepoint events.
|
||||||
|
|||||||
Reference in New Issue
Block a user