All of lore.kernel.org
 help / color / mirror / Atom feed
* [yhuang:autonuma-r0.7d 33/33] include/trace/events/sched.h:101:27: error: 'NUMA_LATENCY_HISTOGRAM_BUCKETS' undeclared here (not in a function); did you mean 'NUMA_HISTOGRAM_BUCKETS'?
@ 2020-03-10  9:03 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-10  9:03 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2629 bytes --]

tree:   yhuang/autonuma-r0.7d
head:   a7e579505d22057606104b8ef5e7203771f2518a
commit: a7e579505d22057606104b8ef5e7203771f2518a [33/33] autonuma: Trace histogram
config: x86_64-rhel-7.2-aep (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout a7e579505d22057606104b8ef5e7203771f2518a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (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); did you mean 'NUMA_HISTOGRAM_BUCKETS'?
      __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 +101 include/trace/events/sched.h

    89	
  > 90	TRACE_EVENT(autonuma_histogram,
    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: 44122 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-10  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10  9:03 [yhuang:autonuma-r0.7d 33/33] include/trace/events/sched.h:101:27: error: 'NUMA_LATENCY_HISTOGRAM_BUCKETS' undeclared here (not in a function); did you mean 'NUMA_HISTOGRAM_BUCKETS'? 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.