[Intel-gfx] [drm-intel:drm-intel-next-queued 1/3] drivers/gpu/drm/i915/./i915_trace.h:409:24: error: 'struct i915_address_space' has no member named 'dev'
kbuild test robot
fengguang.wu at intel.com
Tue Nov 29 13:45:22 UTC 2016
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head: c6385c947f4d1526d823a16ea25daa93d2897997
commit: 49d73912cbfcaa3eba109a44ee71200c12fa27ef [1/3] drm/i915: Convert vm->dev backpointer to vm->i915
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 49d73912cbfcaa3eba109a44ee71200c12fa27ef
# save the attached .config to linux build tree
make ARCH=i386
Note: the drm-intel/drm-intel-next-queued HEAD c6385c947f4d1526d823a16ea25daa93d2897997 builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
In file included from include/trace/define_trace.h:95:0,
from drivers/gpu/drm/i915/i915_trace.h:802,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
drivers/gpu/drm/i915/./i915_trace.h: In function 'trace_event_raw_event_i915_gem_evict':
>> drivers/gpu/drm/i915/./i915_trace.h:409:24: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/trace_events.h:686:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^~~~~~
>> drivers/gpu/drm/i915/./i915_trace.h:396:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_evict,
^~~~~~~~~~~
>> drivers/gpu/drm/i915/./i915_trace.h:408:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h: In function 'trace_event_raw_event_i915_gem_evict_vm':
drivers/gpu/drm/i915/./i915_trace.h:446:24: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/trace_events.h:686:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^~~~~~
drivers/gpu/drm/i915/./i915_trace.h:436:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_evict_vm,
^~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h:445:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h: In function 'trace_event_raw_event_i915_ppgtt':
drivers/gpu/drm/i915/./i915_trace.h:714:21: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/trace_events.h:686:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
drivers/gpu/drm/i915/./i915_trace.h:712:2: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
In file included from include/trace/define_trace.h:96:0,
from drivers/gpu/drm/i915/i915_trace.h:802,
from drivers/gpu/drm/i915/i915_trace_points.c:12:
drivers/gpu/drm/i915/./i915_trace.h: In function 'perf_trace_i915_gem_evict':
>> drivers/gpu/drm/i915/./i915_trace.h:409:24: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/perf.h:65:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^~~~~~
>> drivers/gpu/drm/i915/./i915_trace.h:396:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_evict,
^~~~~~~~~~~
>> drivers/gpu/drm/i915/./i915_trace.h:408:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h: In function 'perf_trace_i915_gem_evict_vm':
drivers/gpu/drm/i915/./i915_trace.h:446:24: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/perf.h:65:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
include/trace/trace_events.h:64:9: note: in expansion of macro 'PARAMS'
PARAMS(assign), \
^~~~~~
drivers/gpu/drm/i915/./i915_trace.h:436:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(i915_gem_evict_vm,
^~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h:445:6: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/./i915_trace.h: In function 'perf_trace_i915_ppgtt':
drivers/gpu/drm/i915/./i915_trace.h:714:21: error: 'struct i915_address_space' has no member named 'dev'
__entry->dev = vm->dev->primary->index;
^
include/trace/perf.h:65:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
{ assign; } \
^~~~~~
drivers/gpu/drm/i915/./i915_trace.h:712:2: note: in expansion of macro 'TP_fast_assign'
TP_fast_assign(
^~~~~~~~~~~~~~
vim +409 drivers/gpu/drm/i915/./i915_trace.h
1c5d22f7 Chris Wilson 2009-08-25 390
903cf20c Li Zefan 2010-03-11 391 DEFINE_EVENT(i915_gem_object, i915_gem_object_destroy,
05394f39 Chris Wilson 2010-11-08 392 TP_PROTO(struct drm_i915_gem_object *obj),
903cf20c Li Zefan 2010-03-11 393 TP_ARGS(obj)
1c5d22f7 Chris Wilson 2009-08-25 394 );
1c5d22f7 Chris Wilson 2009-08-25 395
db53a302 Chris Wilson 2011-02-03 @396 TRACE_EVENT(i915_gem_evict,
e522ac23 Chris Wilson 2016-08-04 397 TP_PROTO(struct i915_address_space *vm, u32 size, u32 align, unsigned int flags),
e522ac23 Chris Wilson 2016-08-04 398 TP_ARGS(vm, size, align, flags),
1c5d22f7 Chris Wilson 2009-08-25 399
db53a302 Chris Wilson 2011-02-03 400 TP_STRUCT__entry(
db53a302 Chris Wilson 2011-02-03 401 __field(u32, dev)
e522ac23 Chris Wilson 2016-08-04 402 __field(struct i915_address_space *, vm)
db53a302 Chris Wilson 2011-02-03 403 __field(u32, size)
db53a302 Chris Wilson 2011-02-03 404 __field(u32, align)
e522ac23 Chris Wilson 2016-08-04 405 __field(unsigned int, flags)
db53a302 Chris Wilson 2011-02-03 406 ),
1c5d22f7 Chris Wilson 2009-08-25 407
db53a302 Chris Wilson 2011-02-03 @408 TP_fast_assign(
e522ac23 Chris Wilson 2016-08-04 @409 __entry->dev = vm->dev->primary->index;
e522ac23 Chris Wilson 2016-08-04 410 __entry->vm = vm;
db53a302 Chris Wilson 2011-02-03 411 __entry->size = size;
db53a302 Chris Wilson 2011-02-03 412 __entry->align = align;
:::::: The code at line 409 was first introduced by commit
:::::: e522ac2324f384e1fafd1a4ae6ebf38095dc6695 drm/i915: Remove surplus drm_device parameter to i915_gem_evict_something()
:::::: TO: Chris Wilson <chris at chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25157 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161129/366f926a/attachment-0001.gz>
More information about the Intel-gfx
mailing list