All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:sched/rt-throttle 11/12] kernel/sched/debug.c:690:11: error: 'struct rt_rq' has no member named 'rt_nr_cg_throttled'; did you mean 'rt_cg_throttled'?
@ 2023-03-02 20:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-02 20:38 UTC (permalink / raw)
  To: Vineeth Pillai; +Cc: oe-kbuild-all, Joel Fernandes

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git sched/rt-throttle
head:   3426c4b45d36b426432e250f667021e9b4b5356b
commit: a35d0b488fd029bd34b6326d2712909f9b2bfc22 [11/12] debug bits
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20230303/202303030444.fjj7vHlG-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git/commit/?id=a35d0b488fd029bd34b6326d2712909f9b2bfc22
        git remote add jfern https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git
        git fetch --no-tags jfern sched/rt-throttle
        git checkout a35d0b488fd029bd34b6326d2712909f9b2bfc22
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303030444.fjj7vHlG-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from kernel/sched/build_utility.c:73:
   kernel/sched/debug.c: In function 'print_rt_rq':
>> kernel/sched/debug.c:690:11: error: 'struct rt_rq' has no member named 'rt_nr_cg_throttled'; did you mean 'rt_cg_throttled'?
     690 |         P(rt_nr_cg_throttled);
         |           ^~~~~~~~~~~~~~~~~~
   kernel/sched/debug.c:17:31: note: in definition of macro 'SEQ_printf'
      17 |                 seq_printf(m, x);               \
         |                               ^
   kernel/sched/debug.c:690:9: note: in expansion of macro 'P'
     690 |         P(rt_nr_cg_throttled);
         |         ^
   In file included from include/linux/kernel.h:29,
                    from include/linux/cpumask.h:10,
                    from include/linux/smp.h:13,
                    from include/linux/sched/clock.h:5,
                    from kernel/sched/build_utility.c:12:
>> kernel/sched/debug.c:690:11: error: 'struct rt_rq' has no member named 'rt_nr_cg_throttled'; did you mean 'rt_cg_throttled'?
     690 |         P(rt_nr_cg_throttled);
         |           ^~~~~~~~~~~~~~~~~~
   include/linux/printk.h:429:33: note: in definition of macro 'printk_index_wrap'
     429 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
         |                                 ^~~~~~~~~~~
   include/linux/printk.h:542:9: note: in expansion of macro 'printk'
     542 |         printk(KERN_CONT fmt, ##__VA_ARGS__)
         |         ^~~~~~
   kernel/sched/debug.c:19:17: note: in expansion of macro 'pr_cont'
      19 |                 pr_cont(x);                     \
         |                 ^~~~~~~
   kernel/sched/debug.c:678:9: note: in expansion of macro 'SEQ_printf'
     678 |         SEQ_printf(m, "  .%-30s: %Ld\n", #x, (long long)(rt_rq->x))
         |         ^~~~~~~~~~
   kernel/sched/debug.c:690:9: note: in expansion of macro 'P'
     690 |         P(rt_nr_cg_throttled);
         |         ^


vim +690 kernel/sched/debug.c

   676	
   677	#define P(x) \
   678		SEQ_printf(m, "  .%-30s: %Ld\n", #x, (long long)(rt_rq->x))
   679	#define PU(x) \
   680		SEQ_printf(m, "  .%-30s: %lu\n", #x, (unsigned long)(rt_rq->x))
   681	#define PN(x) \
   682		SEQ_printf(m, "  .%-30s: %Ld.%06ld\n", #x, SPLIT_NS(rt_rq->x))
   683	
   684		PU(rt_nr_running);
   685	#ifdef CONFIG_SMP
   686		PU(rt_nr_migratory);
   687	#endif
   688		P(rt_bw_throttled);
   689		P(rt_se_running);
 > 690		P(rt_nr_cg_throttled);
   691		PN(rt_time);
   692		PN(rt_runtime);
   693	
   694		SEQ_printf(m, "rq bitmap: 0x%lx-0x%lx\n", array->bitmap[1], array->bitmap[0]);
   695	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

only message in thread, other threads:[~2023-03-02 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 20:38 [jfern:sched/rt-throttle 11/12] kernel/sched/debug.c:690:11: error: 'struct rt_rq' has no member named 'rt_nr_cg_throttled'; did you mean 'rt_cg_throttled'? kernel 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.