All of lore.kernel.org
 help / color / mirror / Atom feed
* tests/pmu-events.c:1104:34: error: implicit declaration of function 'pmu_metrics_table__name'; did you mean 'pmu_metrics_table__find'?
@ 2026-06-02 16:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-02 16:10 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Ian Rogers <irogers@google.com>
CC: 0day robot <lkp@intel.com>

tree:   https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/perf-test-pmu-events-A-sub-test-per-metric-table/20260602-164002
head:   e4c41d658075c69ae93088b2c7235a38c7eceea3
commit: e4c41d658075c69ae93088b2c7235a38c7eceea3 perf test pmu-events: A sub-test per metric table
date:   7 hours ago
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: riscv-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260602/202606021848.jZADRwin-lkp@intel.com/config)
compiler: riscv64-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260602/202606021848.jZADRwin-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/r/202606021848.jZADRwin-lkp@intel.com/

All errors (new ones prefixed by >>):

   Makefile.config:566: No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent
   Makefile.config:940: No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev
   Makefile.config:1136: Rust is not found. Test workloads with rust are disabled.
     PERF_VERSION = 7.1.rc5.ge4c41d658075
   tests/pmu-events.c: In function 'test__parsing':
   tests/pmu-events.c:932:50: error: 'struct test_case' has no member named 'priv'
     932 |                 table = test->test_cases[subtest].priv;
         |                                                  ^
   tests/pmu-events.c: In function 'test__parsing_fake':
   tests/pmu-events.c:1050:50: error: 'struct test_case' has no member named 'priv'
    1050 |                 table = test->test_cases[subtest].priv;
         |                                                  ^
   tests/pmu-events.c: In function 'populate_metrics_tables_cb':
>> tests/pmu-events.c:1104:34: error: implicit declaration of function 'pmu_metrics_table__name'; did you mean 'pmu_metrics_table__find'? [-Wimplicit-function-declaration]
    1104 |         const char *table_name = pmu_metrics_table__name(table);
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~
         |                                  pmu_metrics_table__find
>> tests/pmu-events.c:1104:34: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   tests/pmu-events.c:1121:18: error: 'struct test_case' has no member named 'priv'
    1121 |                 .priv = (void *)table,
         |                  ^~~~
   tests/pmu-events.c:1129:18: error: 'struct test_case' has no member named 'priv'
    1129 |                 .priv = (void *)table,
         |                  ^~~~
   tests/pmu-events.c: In function 'setup_pmu_events_suite':
>> tests/pmu-events.c:1151:15: error: implicit declaration of function 'pmu_metrics_table__iterate_tables'; did you mean 'pmu_metrics_table__default'? [-Wimplicit-function-declaration]
    1151 |         ret = pmu_metrics_table__iterate_tables(count_metrics_tables_cb, &num_tables);
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |               pmu_metrics_table__default
   tests/pmu-events.c: At top level:
   tests/pmu-events.c:1214:10: error: 'struct test_suite' has no member named 'setup'
    1214 |         .setup = setup_pmu_events_suite,
         |          ^~~~~
   make[4]: *** [tools/build/Makefile.build:95: tests/pmu-events.o] Error 1
   make[4]: *** Waiting for unfinished jobs....
   make[3]: *** [tools/build/Makefile.build:158: tests] Error 2
   make[2]: *** [Makefile.perf:566: perf-test-in.o] Error 2
   make[2]: *** Waiting for unfinished jobs....
   make[1]: *** [Makefile.perf:288: sub-make] Error 2

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

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

only message in thread, other threads:[~2026-06-02 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02 16:10 tests/pmu-events.c:1104:34: error: implicit declaration of function 'pmu_metrics_table__name'; did you mean 'pmu_metrics_table__find'? 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.