All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Cc: oe-kbuild-all@lists.linux.dev,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH] tracing: Add an option to show symbols in _text+offset for function profiler
Date: Sat, 20 Sep 2025 01:09:42 +0800	[thread overview]
Message-ID: <202509200025.UH0WU2Qw-lkp@intel.com> (raw)
In-Reply-To: <175826135058.101165.7219957344129610147.stgit@devnote2>

Hi Masami,

kernel test robot noticed the following build errors:

[auto build test ERROR on trace/for-next]
[also build test ERROR on linus/master v6.17-rc6 next-20250918]
[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/Masami-Hiramatsu-Google/tracing-Add-an-option-to-show-symbols-in-_text-offset-for-function-profiler/20250919-135733
base:   https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace for-next
patch link:    https://lore.kernel.org/r/175826135058.101165.7219957344129610147.stgit%40devnote2
patch subject: [PATCH] tracing: Add an option to show symbols in _text+offset for function profiler
config: arc-randconfig-001-20250919 (https://download.01.org/0day-ci/archive/20250920/202509200025.UH0WU2Qw-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250920/202509200025.UH0WU2Qw-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509200025.UH0WU2Qw-lkp@intel.com/

All errors (new ones prefixed by >>):

   kernel/trace/trace.c: In function 'create_trace_options_dir':
>> kernel/trace/trace.c:526:16: error: 'TRACE_ITER_PROF_TEXT_OFFSET' undeclared (first use in this function); did you mean 'TRACE_ITER_CONTEXT_INFO'?
     526 |                TRACE_ITER_PROF_TEXT_OFFSET)
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/trace/trace.c:9316:34: note: in expansion of macro 'TOP_LEVEL_TRACE_FLAGS'
    9316 |                     !((1 << i) & TOP_LEVEL_TRACE_FLAGS))
         |                                  ^~~~~~~~~~~~~~~~~~~~~
   kernel/trace/trace.c:526:16: note: each undeclared identifier is reported only once for each function it appears in
     526 |                TRACE_ITER_PROF_TEXT_OFFSET)
         |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/trace/trace.c:9316:34: note: in expansion of macro 'TOP_LEVEL_TRACE_FLAGS'
    9316 |                     !((1 << i) & TOP_LEVEL_TRACE_FLAGS))
         |                                  ^~~~~~~~~~~~~~~~~~~~~


vim +526 kernel/trace/trace.c

   512	
   513	/* trace_flags holds trace_options default values */
   514	#define TRACE_DEFAULT_FLAGS						\
   515		(FUNCTION_DEFAULT_FLAGS |					\
   516		 TRACE_ITER_PRINT_PARENT | TRACE_ITER_PRINTK |			\
   517		 TRACE_ITER_ANNOTATE | TRACE_ITER_CONTEXT_INFO |		\
   518		 TRACE_ITER_RECORD_CMD | TRACE_ITER_OVERWRITE |			\
   519		 TRACE_ITER_IRQ_INFO | TRACE_ITER_MARKERS |			\
   520		 TRACE_ITER_HASH_PTR | TRACE_ITER_TRACE_PRINTK |		\
   521		 TRACE_ITER_COPY_MARKER)
   522	
   523	/* trace_options that are only supported by global_trace */
   524	#define TOP_LEVEL_TRACE_FLAGS (TRACE_ITER_PRINTK |			\
   525		       TRACE_ITER_PRINTK_MSGONLY | TRACE_ITER_RECORD_CMD |	\
 > 526		       TRACE_ITER_PROF_TEXT_OFFSET)
   527	

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

  reply	other threads:[~2025-09-19 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19  5:55 [PATCH] tracing: Add an option to show symbols in _text+offset for function profiler Masami Hiramatsu (Google)
2025-09-19 17:09 ` kernel test robot [this message]
2025-09-20  9:06   ` Masami Hiramatsu
2025-09-19 17:09 ` kernel test robot
2025-09-19 17:16   ` Steven Rostedt
2025-09-21 14:14     ` Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202509200025.UH0WU2Qw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.