[Intel-gfx] [RFC 6/8] drm/i915: Add support for forwarding pid in timestamp sample metadata through perf

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

[Intel-gfx] [RFC 6/8] drm/i915: Add support for forwarding pid in timestamp sample metadata through perf

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