* [yhuang:autonuma-r0.7d 33/33] include/trace/events/sched.h:101:27: error: 'NUMA_LATENCY_HISTOGRAM_BUCKETS' undeclared here (not in a function)
@ 2020-03-10 12:12 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-10 12:12 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2693 bytes --]
tree: yhuang/autonuma-r0.7d
head: a7e579505d22057606104b8ef5e7203771f2518a
commit: a7e579505d22057606104b8ef5e7203771f2518a [33/33] autonuma: Trace histogram
config: mips-fuloong2e_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 5.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a7e579505d22057606104b8ef5e7203771f2518a
# save the attached .config to linux build tree
GCC_VERSION=5.5.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/trace/define_trace.h:102:0,
from include/trace/events/sched.h:694,
from kernel/sched/core.c:25:
>> include/trace/events/sched.h:101:27: error: 'NUMA_LATENCY_HISTOGRAM_BUCKETS' undeclared here (not in a function)
__array( long, buckets, NUMA_LATENCY_HISTOGRAM_BUCKETS )
^
include/trace/trace_events.h:114:3: note: in definition of macro 'DECLARE_EVENT_CLASS'
tstruct \
^
include/trace/trace_events.h:77:9: note: in expansion of macro 'PARAMS'
PARAMS(tstruct), \
^
include/trace/events/sched.h:90:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(autonuma_histogram,
^
include/trace/events/sched.h:98:2: note: in expansion of macro 'TP_STRUCT__entry'
TP_STRUCT__entry(
^
include/trace/events/sched.h:101:3: note: in expansion of macro '__array'
__array( long, buckets, NUMA_LATENCY_HISTOGRAM_BUCKETS )
^
vim +/NUMA_LATENCY_HISTOGRAM_BUCKETS +101 include/trace/events/sched.h
91
92 TP_PROTO(int nid,
93 long nr,
94 long *buckets),
95
96 TP_ARGS(nid, nr, buckets),
97
98 TP_STRUCT__entry(
99 __field( int, nid )
100 __field( long, nr )
> 101 __array( long, buckets, NUMA_LATENCY_HISTOGRAM_BUCKETS )
102 ),
103
104 TP_fast_assign(
105 __entry->nid = nid;
106 __entry->nr = nr;
107 memcpy(__entry->buckets, buckets,
108 NUMA_LATENCY_HISTOGRAM_BUCKETS * sizeof(long));
109 ),
110
111 TP_printk("nid=%d nr=%ld buckets=[%s]",
112 __entry->nid, __entry->nr,
113 __print_array(__entry->buckets,
114 NUMA_LATENCY_HISTOGRAM_BUCKETS, sizeof(long)))
115 );
116
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19140 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-10 12:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 12:12 [yhuang:autonuma-r0.7d 33/33] include/trace/events/sched.h:101:27: error: 'NUMA_LATENCY_HISTOGRAM_BUCKETS' undeclared here (not in a function) kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.