public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Ian Rogers" <irogers@google.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Arnaldo Carvalho de Melo" <acme@kernel.org>,
	"Namhyung Kim" <namhyung@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Adrian Hunter" <adrian.hunter@intel.com>,
	"Kan Liang" <kan.liang@linux.intel.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
	"Weilin Wang" <weilin.wang@intel.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
	"Perry Taylor" <perry.taylor@intel.com>,
	"Samantha Alt" <samantha.alt@intel.com>,
	"Caleb Biggers" <caleb.biggers@intel.com>,
	"Edward Baker" <edward.baker@intel.com>,
	"Michael Petlan" <mpetlan@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v1 03/22] perf vendor events: Add Arrowlake events/metrics
Date: Sun, 15 Dec 2024 06:57:09 +0800	[thread overview]
Message-ID: <202412150635.sGYwFvX2-lkp@intel.com> (raw)
In-Reply-To: <20241209222800.296000-4-irogers@google.com>

Hi Ian,

kernel test robot noticed the following build errors:

[auto build test ERROR on perf-tools-next/perf-tools-next]
[also build test ERROR on tip/perf/core perf-tools/perf-tools linus/master v6.13-rc2 next-20241213]
[cannot apply to acme/perf/core]
[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/Ian-Rogers/perf-vendor-events-Update-Alderlake-events-metrics/20241210-064605
base:   https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link:    https://lore.kernel.org/r/20241209222800.296000-4-irogers%40google.com
patch subject: [PATCH v1 03/22] perf vendor events: Add Arrowlake events/metrics
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241215/202412150635.sGYwFvX2-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/202412150635.sGYwFvX2-lkp@intel.com/

All errors (new ones prefixed by >>):

     PERF_VERSION = 6.12.rc6.g947fa0393dbc
>> tools/perf/pmu-events/pmu-events.c:27919:156: error: expected expression
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                            ^
>> tools/perf/pmu-events/pmu-events.c:27919:152: error: use of undeclared identifier 'SUB'
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                        ^
>> tools/perf/pmu-events/pmu-events.c:27919:157: error: use of undeclared identifier 'MUL'
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                             ^
>> tools/perf/pmu-events/pmu-events.c:27919:161: error: use of undeclared identifier 'FMA'
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                                 ^
   tools/perf/pmu-events/pmu-events.c:27919:165: error: expected expression
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                                     ^
>> tools/perf/pmu-events/pmu-events.c:27919:166: error: use of undeclared identifier 'DPP'
    27919 | { 388816 }, /* fp_arith_dispatched.v0\000floating point\000Number of FP-arith-uops dispatched on 1st VEC port (port 0). FP-arith-uops are of type ADD*/SUB*/MUL/FMA*/DPP\000event=0xb3,period=2000003,umask=1\000\00000\000\000 */
          |                                                                                                                                                                      ^
>> tools/perf/pmu-events/pmu-events.c:28343:21: error: invalid application of 'sizeof' to an incomplete type 'const struct compact_pmu_event[]'
    28343 |      .num_entries = ARRAY_SIZE(pmu_events__arrowlake_cpu_core),
          |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   tools/include/linux/kernel.h:103:32: note: expanded from macro 'ARRAY_SIZE'
     103 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
         |                                ^~~~~
>> tools/perf/pmu-events/pmu-events.c:75461:15: error: invalid application of 'sizeof' to an incomplete type 'const struct pmu_table_entry[]'
    75461 |                 .num_pmus = ARRAY_SIZE(pmu_events__arrowlake)
          |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   tools/include/linux/kernel.h:103:32: note: expanded from macro 'ARRAY_SIZE'
     103 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
         |                                ^~~~~
   8 errors generated.
   make[6]: *** [pmu-events/Build:53: tools/perf/pmu-events/pmu-events.o] Error 1
   make[5]: *** [Makefile.perf:765: tools/perf/pmu-events/pmu-events-in.o] Error 2
   make[4]: *** [Makefile.perf:292: sub-make] Error 2
   make[3]: *** [Makefile:76: all] Error 2

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

  parent reply	other threads:[~2024-12-14 22:57 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09 22:27 [PATCH v1 00/22] Intel vendor events and TMA 5.01 metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 01/22] perf vendor events: Update Alderlake events/metrics Ian Rogers
2025-01-08 14:51   ` Arnaldo Carvalho de Melo
2025-01-08 16:18     ` Ian Rogers
2024-12-09 22:27 ` [PATCH v1 02/22] perf vendor events: Update AlderlakeN events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 03/22] perf vendor events: Add Arrowlake events/metrics Ian Rogers
2024-12-12  0:32   ` kernel test robot
2024-12-14 22:57   ` kernel test robot [this message]
2024-12-09 22:27 ` [PATCH v1 04/22] perf vendor events: Update Broadwell events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 05/22] perf vendor events: Update BroadwellDE events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 06/22] perf vendor events: Update BroadwellX events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 07/22] perf vendor events: Update CascadelakeX events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 08/22] perf vendor events: Update EmeraldRapids events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 09/22] perf vendor events: Update GrandRidge events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 10/22] perf vendor events: Update/add Graniterapids events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 11/22] perf vendor events: Update Haswell events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 12/22] perf vendor events: Update HaswellX events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 13/22] perf vendor events: Update Icelake events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 14/22] perf vendor events: Update IcelakeX events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 15/22] perf vendor events: Update/add Lunarlake events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 16/22] perf vendor events: Update Meteorlake events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 17/22] perf vendor events: Update Rocketlake events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 18/22] perf vendor events: Update Sapphirerapids events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 19/22] perf vendor events: Update Sierraforest events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 20/22] perf vendor events: Update Skylake metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 21/22] perf vendor events: Update SkylakeX events/metrics Ian Rogers
2024-12-09 22:27 ` [PATCH v1 22/22] perf vendor events: Update Tigerlake events/metrics Ian Rogers
2024-12-10  0:44 ` [PATCH v1 00/22] Intel vendor events and TMA 5.01 metrics Ian Rogers
2024-12-10 19:03   ` Arnaldo Carvalho de Melo
2024-12-11 16:24     ` Liang, Kan
2025-01-06 17:16       ` Ian Rogers
2025-01-07 19:56         ` Arnaldo Carvalho de Melo
2025-01-07 20:38           ` Ian Rogers

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=202412150635.sGYwFvX2-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=afaerber@suse.de \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=caleb.biggers@intel.com \
    --cc=edward.baker@intel.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=mpetlan@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=perry.taylor@intel.com \
    --cc=peterz@infradead.org \
    --cc=samantha.alt@intel.com \
    --cc=weilin.wang@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox