Skip to contentSkip to conversation

nd_perf.c:undefined reference to `perf_pmu_register'

PATCH Dan Williams 2 participants 2 messages Mar 13, 2022 – Mar 15, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 17 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
head:   66908004f0557c591ebb6e6b65f332669de0a0ea
commit: 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 [4/14] drivers/nvdimm: Add perf interface to expose nvdimm performance stats
config: s390-randconfig-r044-20220313 (https://download.01.org/0day-ci/archive/20220313/202203131120.QqApsr1b-lkp(a)intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/commit/?id=0fab1ba6ad6ba1f76380f92ead95c6e861ef8116
git remote add nvdimm https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
git fetch --no-tags nvdimm libnvdimm-for-next
git checkout 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

Quoted 2 lines

If you fix the issue, kindly add following tag as appropriate

Ugh, this had seen a build success pushing to libnvdimm-for-next. Kajol, can you send a fixup?

#2 lore raw
Quoted 18 lines · Dan Williams
Quoted 17 lines · kernel test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-for-next
head:   66908004f0557c591ebb6e6b65f332669de0a0ea
commit: 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 [4/14] drivers/nvdimm: Add perf interface to expose nvdimm performance stats
config: s390-randconfig-r044-20220313 (https://download.01.org/0day-ci/archive/20220313/202203131120.QqApsr1b-lkp(a)intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/commit/?id=0fab1ba6ad6ba1f76380f92ead95c6e861ef8116
git remote add nvdimm https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
git fetch --no-tags nvdimm libnvdimm-for-next
git checkout 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

Quoted 5 lines
Quoted 2 lines

If you fix the issue, kindly add following tag as appropriate

Ugh, this had seen a build success pushing to libnvdimm-for-next. Kajol, can you send a fixup?

Hi Dan,
Sure I will send a fix patch for this issue.

Thanks,
Kajol Jain