Hi Aaron, kernel test robot noticed the following build errors:
[auto build test ERROR on axboe/for-next] [also build test ERROR on trace/for-next riteshharjani/for-next linus/master v7.1-rc1 next-20260430] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Tomlin/blk-mq-add-tracepoint-block_rq_tag_wait/20260428-013259 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git for-next patch link: https://lore.kernel.org/r/20260427020142.358912-3-atomlin%40atomlin.com patch subject: [PATCH v5 2/2] blk-mq: expose tag starvation counts via debugfs config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260501/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260501/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): In file included from ./include/trace/define_trace.h:132, from ./include/trace/events/block.h:726, from block/blk-core.c:45: ./include/trace/events/block.h: In function 'do_trace_event_raw_event_block_rq_tag_wait': >> ./include/trace/events/block.h:255:71: error: expected ':' before ';' token 255 | __entry->dev = q->disk ? disk_devt(q->disk); | ^ ./include/trace/trace_events.h:427:11: note: in definition of macro '__DECLARE_EVENT_CLASS' 427 | { assign; } \ | ^~~~~~ ./include/trace/trace_events.h:435:23: note: in expansion of macro 'PARAMS' 435 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ./include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS' 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ./include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS' 44 | PARAMS(assign), \ | ^~~~~~ ./include/trace/events/block.h:241:1: note: in expansion of macro 'TRACE_EVENT' 241 | TRACE_EVENT(block_rq_tag_wait, | ^~~~~~~~~~~ ./include/trace/events/block.h:254:9: note: in expansion of macro 'TP_fast_assign' 254 | TP_fast_assign( | ^~~~~~~~~~~~~~ In file included from ./include/trace/define_trace.h:133: ./include/trace/events/block.h: In function 'do_perf_trace_block_rq_tag_wait': >> ./include/trace/events/block.h:255:71: error: expected ':' before ';' token 255 | __entry->dev = q->disk ? disk_devt(q->disk); | ^ ./include/trace/perf.h:51:11: note: in definition of macro '__DECLARE_EVENT_CLASS' 51 | { assign; } \ | ^~~~~~ ./include/trace/perf.h:67:23: note: in expansion of macro 'PARAMS' 67 | PARAMS(assign), PARAMS(print)) \ | ^~~~~~ ./include/trace/trace_events.h:40:9: note: in expansion of macro 'DECLARE_EVENT_CLASS' 40 | DECLARE_EVENT_CLASS(name, \ | ^~~~~~~~~~~~~~~~~~~ ./include/trace/trace_events.h:44:30: note: in expansion of macro 'PARAMS' 44 | PARAMS(assign), \ | ^~~~~~ ./include/trace/events/block.h:241:1: note: in expansion of macro 'TRACE_EVENT' 241 | TRACE_EVENT(block_rq_tag_wait, | ^~~~~~~~~~~ ./include/trace/events/block.h:254:9: note: in expansion of macro 'TP_fast_assign' 254 | TP_fast_assign( | ^~~~~~~~~~~~~~ vim +255 ./include/trace/events/block.h 242 243 TP_PROTO(struct request_queue *q, struct blk_mq_hw_ctx *hctx, bool is_sched_tag), 244 245 TP_ARGS(q, hctx, is_sched_tag), 246 247 TP_STRUCT__entry( 248 __field( dev_t, dev ) 249 __field( u32, hctx_id ) 250 __field( u32, nr_tags ) 251 __field( bool, is_sched_tag ) 252 ), 253 254 TP_fast_assign( > 255 __entry->dev = q->disk ? disk_devt(q->disk); 256 __entry->hctx_id = hctx->queue_num; 257 __entry->is_sched_tag = is_sched_tag; 258 259 if (is_sched_tag) 260 __entry->nr_tags = hctx->sched_tags->nr_tags; 261 else 262 __entry->nr_tags = hctx->tags->nr_tags; 263 ), 264 265 TP_printk("%d,%d hctx=%u starved on %s tags (depth=%u)", 266 MAJOR(__entry->dev), MINOR(__entry->dev), 267 __entry->hctx_id, 268 __entry->is_sched_tag ? "scheduler" : "hardware", 269 __entry->nr_tags) 270 ); 271 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
