From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9F8F7A for ; Mon, 13 Jun 2022 20:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655152384; x=1686688384; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V8qgBoWN/fG+xJHX0cluoEtpiNIPFeWPspFIuQ5rZO0=; b=QPZq7L5/0ekDKRX7DohsY0SRSrtkdsOtRgxVOrkZxvyjIv3zthgA4ioW HJebky0MEudVtYCRAgteWMpm558rV75+fwQZFFJR3vR5Br1yxwwMlyf/A n2Fpnd1Cxsp6Br1PDg45nTgKLshK16RhybJxlA+O4hGeMU6GlQA7G3szk ZAa1xQlgg+JEZp7U+VFtOqAg6tjI0A4OLbR2Chku1jDAK7AjXEN3N5L/c QzloV6oIl8WAZeQDMbh4GJrbic+1ERCAveuWX29w0/IEgz21F6B5Nj37D OmUoOiBYV9rVvNBa5XY0DPoPN1pBkdfz+aQNlekuIIjV97CoNVPpmPw+I Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="364734059" X-IronPort-AV: E=Sophos;i="5.91,298,1647327600"; d="scan'208";a="364734059" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2022 13:33:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,298,1647327600"; d="scan'208";a="569223227" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 13 Jun 2022 13:33:00 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o0qk7-000L7P-EQ; Mon, 13 Jun 2022 20:32:59 +0000 Date: Tue, 14 Jun 2022 04:32:32 +0800 From: kernel test robot To: Anshuman Khandual , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, peterz@infradead.org, acme@kernel.org, mark.rutland@arm.com, will@kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Anshuman Khandual , Catalin Marinas , James Clark , Rob Herring , Marc Zyngier , Ingo Molnar , linux-perf-users@vger.kernel.org Subject: Re: [PATCH 1/8] perf: Consolidate branch sample filter helpers Message-ID: <202206140422.ttLxMHtq-lkp@intel.com> References: <20220613100119.684673-2-anshuman.khandual@arm.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220613100119.684673-2-anshuman.khandual@arm.com> Hi Anshuman, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on acme/perf/core] [cannot apply to arm64/for-next/core] [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/intel-lab-lkp/linux/commits/Anshuman-Khandual/arm64-perf-Enable-branch-stack-sampling/20220613-180501 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git f0fe9f3c7abcc946a676dfb295478c50312523c2 config: x86_64-randconfig-a002-20220613 (https://download.01.org/0day-ci/archive/20220614/202206140422.ttLxMHtq-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d378268ead93c85803c270277f0243737b536ae7) 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://github.com/intel-lab-lkp/linux/commit/1bd23b8ca1fc92f2f5b28a94ebd95432febfe96c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Anshuman-Khandual/arm64-perf-Enable-branch-stack-sampling/20220613-180501 git checkout 1bd23b8ca1fc92f2f5b28a94ebd95432febfe96c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/acpi/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/acpi/acpi_pad.c:20: >> include/linux/perf_event.h:1708:42: error: use of undeclared identifier 'PERF_SAMPLE_BRANCH_PRIV_SAVE'; did you mean 'PERF_SAMPLE_BRANCH_TYPE_SAVE'? return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_PRIV_SAVE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PERF_SAMPLE_BRANCH_TYPE_SAVE include/uapi/linux/perf_event.h:231:2: note: 'PERF_SAMPLE_BRANCH_TYPE_SAVE' declared here PERF_SAMPLE_BRANCH_TYPE_SAVE = ^ 1 error generated. -- In file included from drivers/acpi/processor_idle.c:24: >> include/linux/perf_event.h:1708:42: error: use of undeclared identifier 'PERF_SAMPLE_BRANCH_PRIV_SAVE'; did you mean 'PERF_SAMPLE_BRANCH_TYPE_SAVE'? return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_PRIV_SAVE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ PERF_SAMPLE_BRANCH_TYPE_SAVE include/uapi/linux/perf_event.h:231:2: note: 'PERF_SAMPLE_BRANCH_TYPE_SAVE' declared here PERF_SAMPLE_BRANCH_TYPE_SAVE = ^ drivers/acpi/processor_idle.c:1083:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_probe' [-Wmissing-prototypes] int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu) ^ drivers/acpi/processor_idle.c:1083:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __weak acpi_processor_ffh_lpi_probe(unsigned int cpu) ^ static drivers/acpi/processor_idle.c:1152:12: warning: no previous prototype for function 'acpi_processor_ffh_lpi_enter' [-Wmissing-prototypes] int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) ^ drivers/acpi/processor_idle.c:1152:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __weak acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi) ^ static 2 warnings and 1 error generated. vim +1708 include/linux/perf_event.h 1705 1706 static inline bool branch_sample_priv(const struct perf_event *event) 1707 { > 1708 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_PRIV_SAVE; -- 0-DAY CI Kernel Test Service https://01.org/lkp