Re: [Intel-gfx] [RFC 5/8] drm/i915: Add support for forwarding ring id in sample metadata through perf

2015-08-05 Thread Chris Wilson
On Wed, Aug 05, 2015 at 11:25:41AM +0530, sourab.gu...@intel.com wrote: > @@ -542,18 +548,27 @@ static void forward_one_gen_pmu_sample(struct > drm_i915_private *dev_priv, > struct perf_sample_data data; > struct perf_event *event = dev_priv->gen_pmu.exclusive_event; > int snapsh

[Intel-gfx] [RFC 5/8] drm/i915: Add support for forwarding ring id in sample metadata through perf

2015-08-04 Thread sourab . gupta
From: Sourab Gupta This patch introduces flags and adds support for having ring id output with the timestamp samples and forwarding them through perf. When the userspace expresses its interest in listening to the ring id through a gen pmu attr field during event init, the samples generated would

[Intel-gfx] [RFC 5/8] drm/i915: Add support for forwarding ring id in sample metadata through perf

2015-07-15 Thread sourab . gupta
From: Sourab Gupta This patch introduces flags and adds support for having ring id output with the timestamp samples and forwarding them through perf. When the userspace expresses its interest in listening to the ring id through a gen pmu attr field during event init, the samples generated would