Re: [PATCH] sched/debug: Add new tracepoint to track cpu_capacity
From: kernel test robot
Date: Thu Aug 27 2020 - 15:11:04 EST
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on tip/perf/core tip/auto-latest linus/master v5.9-rc2 next-20200827]
[cannot apply to linux/master]
[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]
url: https://github.com/0day-ci/linux/commits/vincent-donnefort-arm-com/sched-debug-Add-new-tracepoint-to-track-cpu_capacity/20200827-233803
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 4fc472f1214ef75e5450f207e23ff13af6eecad4
config: x86_64-randconfig-a015-20200827 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 71f3169e1baeff262583b35ef88f8fb6df7be85e)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> kernel/sched/fair.c:11314:18: error: no member named 'cpu_capacity' in 'struct rq'
return rq ? rq->cpu_capacity : -1;
~~ ^
1 error generated.
# https://github.com/0day-ci/linux/commit/85b324a307f8d602382ecbfb149f6411eb99bd03
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review vincent-donnefort-arm-com/sched-debug-Add-new-tracepoint-to-track-cpu_capacity/20200827-233803
git checkout 85b324a307f8d602382ecbfb149f6411eb99bd03
vim +11314 kernel/sched/fair.c
11311
11312 int sched_trace_rq_cpu_capacity(struct rq *rq)
11313 {
11314 return rq ? rq->cpu_capacity : -1;
11315 }
11316 EXPORT_SYMBOL_GPL(sched_trace_rq_cpu_capacity);
11317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip