Content-Type: multipart/mixed; boundary="===============6444261364488634673==" MIME-Version: 1.0 From: Rong Chen To: kbuild-all@lists.01.org Subject: Re: [PATCH v3] x86: Add trace points to (nearly) all vectors Date: Thu, 07 Nov 2019 09:51:18 +0800 Message-ID: <1b7cd867-c465-40ec-6250-f92ebea2bb4f@intel.com> In-Reply-To: <20191105014606.GC25308@tassilo.jf.intel.com> List-Id: --===============6444261364488634673== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 11/5/19 9:46 AM, Andi Kleen wrote: > On Sat, Nov 02, 2019 at 08:47:59AM +0800, kbuild test robot wrote: >> Hi Andi, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on tip/auto-latest] >> [also build test ERROR on v5.4-rc5 next-20191031] >> [if your patch is applied to the wrong git tree, please drop us a note t= o help >> improve the system. BTW, we also suggest to use '--base' option to speci= fy the >> base tree in git format-patch, please see https://stackoverflow.com/a/37= 406982] >> >> url: https://github.com/0day-ci/linux/commits/Andi-Kleen/x86-Add-trac= e-points-to-nearly-all-vectors/20191102-063457 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git a5b5= 76bfb3ba85d3e356f9900dce1428d4760582 >> config: i386-tinyconfig (attached as .config) >> compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 >> reproduce: >> # save the attached .config to linux build tree >> make ARCH=3Di386 >> >> If you fix the issue, kindly add following tag >> Reported-by: kbuild test robot >> >> All errors (new ones prefixed by >>): >> >> arch/x86/kernel/traps.c: In function 'do_error_trap': >>>> arch/x86/kernel/traps.c:264:2: error: implicit declaration of function= 'trace_other_vector_entry'; did you mean 'frame_vector_destroy'? [-Werror= =3Dimplicit-function-declaration] >> trace_other_vector_entry(trapnr); >> ^~~~~~~~~~~~~~~~~~~~~~~~ > > Also cannot reproduce and the config file seems to be not matching the ke= rnel. > > The file has the correct include: > > vi +60 arch/x86/kernel/traps.c > > ... > 60 #include > Hi Andi, I think it's a kconfig issue, CONFIG_X86_LOCAL_APIC=C2=A0 is necessary = according to your patch, but i386-tinyconfig doesn't contain it. arch/x86/include/asm/trace/irq_vectors.h: =C2=A011 #ifdef CONFIG_X86_LOCAL_APIC Best Regards, Rong Chen --===============6444261364488634673==--