From: kernel test robot <lkp@intel.com> To: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: ./runqslower.h:7:8: error: redefinition of 'event' Date: Tue, 20 Jul 2021 08:16:21 +0800 [thread overview] Message-ID: <202107200818.lkstxXDY-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2089 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c commit: 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 tools headers: Get tools's linux/compiler.h closer to the kernel's date: 7 months ago config: i386-randconfig-h002-20200226-kselftests (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 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@intel.com> All errors (new ones prefixed by >>): In file included from runqslower.bpf.c:5: >> ./runqslower.h:7:8: error: redefinition of 'event' struct event { ^ tools/testing/selftests/bpf/tools/vmlinux.h:113262:8: note: previous definition is here struct event { ^ >> runqslower.bpf.c:86:8: error: no member named 'pid' in 'struct event' event.pid = pid; ~~~~~ ^ >> runqslower.bpf.c:87:8: error: no member named 'delta_us' in 'struct event' event.delta_us = delta_us; ~~~~~ ^ >> runqslower.bpf.c:88:30: error: no member named 'task' in 'struct event' bpf_get_current_comm(&event.task, sizeof(event.task)); ~~~~~ ^ runqslower.bpf.c:88:49: error: no member named 'task' in 'struct event' bpf_get_current_comm(&event.task, sizeof(event.task)); ~~~~~ ^ 5 errors generated. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 42831 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: ./runqslower.h:7:8: error: redefinition of 'event' Date: Tue, 20 Jul 2021 08:16:21 +0800 [thread overview] Message-ID: <202107200818.lkstxXDY-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 2135 bytes --] tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c commit: 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 tools headers: Get tools's linux/compiler.h closer to the kernel's date: 7 months ago config: i386-randconfig-h002-20200226-kselftests (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 4bba4c4bb09ad4a2b70836725e08439c86d8f9e4 # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 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@intel.com> All errors (new ones prefixed by >>): In file included from runqslower.bpf.c:5: >> ./runqslower.h:7:8: error: redefinition of 'event' struct event { ^ tools/testing/selftests/bpf/tools/vmlinux.h:113262:8: note: previous definition is here struct event { ^ >> runqslower.bpf.c:86:8: error: no member named 'pid' in 'struct event' event.pid = pid; ~~~~~ ^ >> runqslower.bpf.c:87:8: error: no member named 'delta_us' in 'struct event' event.delta_us = delta_us; ~~~~~ ^ >> runqslower.bpf.c:88:30: error: no member named 'task' in 'struct event' bpf_get_current_comm(&event.task, sizeof(event.task)); ~~~~~ ^ runqslower.bpf.c:88:49: error: no member named 'task' in 'struct event' bpf_get_current_comm(&event.task, sizeof(event.task)); ~~~~~ ^ 5 errors generated. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 42831 bytes --]
next reply other threads:[~2021-07-20 6:14 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-20 0:16 kernel test robot [this message] 2021-07-20 0:16 ` ./runqslower.h:7:8: error: redefinition of 'event' kernel test robot
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=202107200818.lkstxXDY-lkp@intel.com \ --to=lkp@intel.com \ --cc=acme@redhat.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ /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: linkBe 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.