From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A381C433EF for ; Mon, 13 Jun 2022 20:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GbdS/JR9AZTLmZnWMz3djoL9Jh/HLzY97nNIzlPFhic=; b=RQKSRYGmEQcXfV qkc7/Ltqcgp6zViS2XwhzCFKp+YYIqTt/SIWBGESY+gf5bMH6/BK2ufzpuht54Nw8Irggl/XkVmva fdx404/CuBL+uUjsFJ7pjUMm8VLNlcGEwa+mWC1mmjRvN4+r6ivfr0T2M9EmzzV0V0WKNivtzp/1o V891+cK3HgvNFE82Esxtfm9QtOkYj+79HO88s8AF3desZkV4GUcPIH8tIB/r9MkW5aLIbg0WV7roA W0FQVRfqbFJP2fU3YIY4LS2+8ELKPCMhTE324pJ//AH2lmhGqyzAPFsUXgNP7M438oaGnrfOoqZsQ g83GRTIMp0LhER13xUAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0qkM-005gHA-9P; Mon, 13 Jun 2022 20:33:14 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0qkF-005gBt-Sl for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2022 20:33:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655152387; x=1686688387; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V8qgBoWN/fG+xJHX0cluoEtpiNIPFeWPspFIuQ5rZO0=; b=LAbPjyQOXW417/ZovyffaPUPF4LvgRgZ/PtaG79yp6Cerx5Vh3Lbn0td 156xI2K/R6EltZVuJXeJSgY4A/xF6LOIcIPRmjHpwQ7E1qdxLHZUSQkrU LqqiG6n2ui4xvhSCUc27sWPB+ivt2l/4rR7FTzdHoihzP1xo0mPEbMfMR 7HJJh4cUVjLfU/vz5cjw2k0kswN9vzU8yWEQtUPSoMFGQQugj7SrbxYcC hVFIiFIQ7RUhVGW5ZZD3WYY+edgRjnghCySzcg+bNd1gAGIXfXjJaZ2Ib GAMn9p3GGFrLZlI2kgswZJtkn0gxd8nT/w7vx1OM8mAKXYkMM4AKjjqUQ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="364734060" X-IronPort-AV: E=Sophos;i="5.91,298,1647327600"; d="scan'208";a="364734060" 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220613100119.684673-2-anshuman.khandual@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220613_133307_973515_32965697 X-CRM114-Status: GOOD ( 15.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel