Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1347436iog; Tue, 14 Jun 2022 04:26:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtLLXyiWmK2Z+RhhqZbC8PXRLPuviI/EJ3mZUoy5GKryFFaVVCzIPFhAo/2eqZT1JuATUM X-Received: by 2002:a17:907:1b0c:b0:6fe:25bf:b3e5 with SMTP id mp12-20020a1709071b0c00b006fe25bfb3e5mr3833732ejc.689.1655206009932; Tue, 14 Jun 2022 04:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655206009; cv=none; d=google.com; s=arc-20160816; b=J4GLf3mfAn/0jOyYZ4yN+sk/1WOjjBgFiwmqx89fh1L3t0YjgRRJmS5Ah8X/zfkaO9 k5CrNBgu788Nerz4eBel8UhpeEXcEiBjeFULoHL1eeO+3Qp2m7TfvuVx/fLJsl06eYIL G+bE+LiALXdRKIP+Q3RZlJ2vARLe0c+mIrF9V1SrKn5VgbO0fqHf2F59Ie4C47atkbv7 s5ujPzmWuay9/ivjB4lx7bAQeSx6r+rPFES5Ouyj93ZYiijvioHwJ8WpB2EwpKrgxEJr Fgb+QCBzHeFG+pIExs6UOBI1Cp6PP2neMsANzp11mXPytjGxg3EeNAbtTqCs+dNRglBH TtdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Ro+Lh/zneXSZuj92hotiJGfnXAZRyDhrllOVFqPJItg=; b=fQmX/UIhWADBpHZxcrqEQ/qSFjR4QgDo7AU2I2YSQnnG3vzVwHh4mz9EEU/R4q8sDJ jcSzl6TwBRdNggxlDmjh6P6B8dqhnWqxL0HfQKAhNsKmPdIR2rC4Up5w9Z9oEzRQHeoj dDYEBvOOZLEgq/XLjXwxus2Uyv2EXzb6z0NIFZ9qYYZmudDAV0UYqIUYizZD/0Fz1kUX PWOt4hfDNVGWo/s3XHwOjt0mcXw7MRMg/kZWDYUwi/HbeUW5sm3I4+yPtWWZXAbarArK 1qz3MubA2Kdea0oSpwPQZz9ZKfPv+dNZrn0g4xo4CuyR0m+8kr53xOibzf4vYiXBJN03 owUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dwil8hW0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a50f197000000b0042dc645b651si12470558edl.166.2022.06.14.04.26.24; Tue, 14 Jun 2022 04:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dwil8hW0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232235AbiFNLNW (ORCPT + 99 others); Tue, 14 Jun 2022 07:13:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239038AbiFNLNT (ORCPT ); Tue, 14 Jun 2022 07:13:19 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6355D1EC4F; Tue, 14 Jun 2022 04:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655205198; x=1686741198; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=PkAwYlIH+LhC0yR/XXtEdoYqPZCdO4H6sUEzr+OM2pM=; b=dwil8hW0o5C5StvUZV/q5/uEXxxzNm5KM5csMZ/MMQ5NYoT1i3azP/Ew L7FUsqqpZ0BqVpSWSfOrTudBoBR0RvOtFYAoNn0VPnRoZinUVKaNp8K9g T2OEgCfuEKBIuvIb7FyFm08hFyZsi6Wnj1JQyNLD/pYNItNGkiZtw+pjr vOBRV839FrXa7jgndv/CJ48aAePgRGxT72zt6y4PniPozRX1+VTdpZmUc xHWFL4AVq+gYtCmcIviOlQBxPLjPOUIR7qkIhLmvHPbffYAGAOtUXsd5+ /WwCHO7sG1kRyuiDD4mLWHbMrvYwDG+tOro7RB56Y/g0Hfv+2/qIPpRrY A==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="258421930" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="258421930" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 04:13:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="830358971" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.28.34]) ([10.255.28.34]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 04:13:12 -0700 Subject: Re: [kbuild-all] Re: [PATCH 1/8] perf: Consolidate branch sample filter helpers To: Anshuman Khandual , kernel test robot , 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, Catalin Marinas , James Clark , Rob Herring , Marc Zyngier , Ingo Molnar , linux-perf-users@vger.kernel.org References: <20220613100119.684673-2-anshuman.khandual@arm.com> <202206140422.ttLxMHtq-lkp@intel.com> <7df0ca46-1ece-2f51-a7a7-a0129724e6bc@arm.com> From: "Chen, Rong A" Message-ID: Date: Tue, 14 Jun 2022 19:13:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <7df0ca46-1ece-2f51-a7a7-a0129724e6bc@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/14/2022 9:36 AM, Anshuman Khandual wrote: > > On 6/14/22 02:02, kernel test robot wrote: >> 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. > > This series is dependent on another one which adds symbol PERF_SAMPLE_BRANCH_TYPE_SAVE > as mentioned in the cover letter. I understand the '--base' argument for git format-patch > output, but how to mention another prerequisite series before this can be built tested ? Hi Anshuman, git format-patch supports to set prerequisite-patch-id, kernel test robot can parse the information and apply patch to a proper branch to test. https://git-scm.com/docs/git-format-patch#_base_tree_information Best Regards, Rong Chen