All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: tests/pmu-events.c:1104:34: error: implicit declaration of function 'pmu_metrics_table__name'; did you mean 'pmu_metrics_table__find'?
Date: Tue, 02 Jun 2026 18:10:05 +0200	[thread overview]
Message-ID: <202606021848.jZADRwin-lkp@intel.com> (raw)

:::::: 
:::::: 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

                 reply	other threads:[~2026-06-02 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202606021848.jZADRwin-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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.