Hi SanjayKumar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
[also build test ERROR on vhost/linux-next ipvs/master v5.14-rc1]
[cannot apply to bpf/master next-20210712]
[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/SanjayKumar-J/tools-runqslower-u...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/0e86dc86c0f18512dc19ba3d0b001b3f0...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
SanjayKumar-J/tools-runqslower-use-__state-instead-of-state/20210707-131703
git checkout 0e86dc86c0f18512dc19ba3d0b001b3f06338a0d
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash -C tools/testing/selftests/bpf
install
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> runqslower.bpf.c:77:12: error: no member named '__state'
in 'struct task_struct'; did you mean 'state'?
if
(prev->__state == TASK_RUNNING)
^~~~~~~
state
/tools/vmlinux.h:1096:20: note: 'state' declared here
volatile long int state;
^
1 error generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org