提交 3c2d0671 编写于 作者: L Lionel Landwerlin

drm/i915: reorder field in gem_request tracepoints

Let's make the order of the fields of the tracepoints involving gem
request match across i915. This makes userspace processing of
tracepoint a bit easier.
Suggested-by: NChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: NLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171218151959.14073-2-lionel.g.landwerlin@intel.com
上级 a0cf5790
...@@ -641,8 +641,8 @@ DECLARE_EVENT_CLASS(i915_gem_request, ...@@ -641,8 +641,8 @@ DECLARE_EVENT_CLASS(i915_gem_request,
TP_STRUCT__entry( TP_STRUCT__entry(
__field(u32, dev) __field(u32, dev)
__field(u32, ctx)
__field(u32, ring) __field(u32, ring)
__field(u32, ctx)
__field(u32, seqno) __field(u32, seqno)
__field(u32, global) __field(u32, global)
), ),
...@@ -684,9 +684,9 @@ DECLARE_EVENT_CLASS(i915_gem_request_hw, ...@@ -684,9 +684,9 @@ DECLARE_EVENT_CLASS(i915_gem_request_hw,
TP_STRUCT__entry( TP_STRUCT__entry(
__field(u32, dev) __field(u32, dev)
__field(u32, ring) __field(u32, ring)
__field(u32, ctx)
__field(u32, seqno) __field(u32, seqno)
__field(u32, global_seqno) __field(u32, global_seqno)
__field(u32, ctx)
__field(u32, port) __field(u32, port)
), ),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册