Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4324657pxb; Tue, 2 Mar 2021 12:06:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4dVHXKZzxnhbNPC/dPFL9zk4g9Z0lDlkFHHXBHnHRHlhAefZjc3fN0PgQIW1MAXfcuL5X X-Received: by 2002:a17:906:33d9:: with SMTP id w25mr22339323eja.413.1614715594255; Tue, 02 Mar 2021 12:06:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614715594; cv=none; d=google.com; s=arc-20160816; b=scUBCBsKCDZRmgR70vedhclMUiZQGSUR+kSvMhhpO48EMQiNEl2B70Ddt5XvO/KV8g m8d5RRKU0Zt2ye06eaKtgIokaFXhX/Eku5TwET5mJOfnhUV5Y79HKvvA38asW4P4AWnf ARuhzKA/yUkJ0gAfNGR5vnt8EkoYB2FTHICm11LEuN1QoxDqPvzCtrxHOHtYr/OuBQTr dnOZMKHhlg6zuu9bFB9quI8hUp0v06b1EUf12ucA7zBrhYEZSeumqj+MOPPs4MSoOej0 /AOMySYfWrnFahIAUnohNnAODmWHvkcqaTu+mO6rHEYhko6RYCTA/+p8xYHGTSS7+qE3 wJrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=lPBgyd1J7Yq8i540u5i8VAgbFU7w/HyUwEY4QeeVj30=; b=OhAe8R5Z6qBeFgNfkkvXzjQUb0GHUyX70kaseoOx4MIYwIlF6k/6t8XPfzOBWrpQ04 n30/AyYGzdTxmDVjXF5p40oNiqFAV1ANc/TaIN3zY69tGGdClSuY8Nvda5H/Gc5jJ6LV yOtRY5n7W+PsR7QpYdnbRSKxhSH5PJB1KsoZFESWukrEkFLAuA4/Q+oVdIjkboNFUAKi j5YLaSEh8ohK+d9eDm38in3zVBOn7z9A6GwjO3FqMMQmQ4fMK7NeUzsD3GpvnG8agaos 7nAnS9CyTmn0AePr4ncF1z+rgoZoy+6rIDSHKM088erXsKDi/PdQTjFbpgbc86bfBQLc H4GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rZ7B5UbJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb25si13895207ejb.357.2021.03.02.12.06.02; Tue, 02 Mar 2021 12:06:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=rZ7B5UbJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1836773AbhCBHUt (ORCPT + 99 others); Tue, 2 Mar 2021 02:20:49 -0500 Received: from m42-2.mailgun.net ([69.72.42.2]:26978 "EHLO m42-2.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347841AbhCBGqD (ORCPT ); Tue, 2 Mar 2021 01:46:03 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1614667543; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=lPBgyd1J7Yq8i540u5i8VAgbFU7w/HyUwEY4QeeVj30=; b=rZ7B5UbJJF3c0hQoqC6EBp13bmk+UmBBorhjl7Z3P1KWyycHxWB+Uk5EqG17oSvyl27dJX7L 6Q+bScqahhQYjZp1E/82JlEbBAY0F4QkWUyirEaU9X42SRgW5gDXZUXmTTD5GzvRAoHhoL0U tYvnhwTU1T9viRV6TXvlW/bpCzo= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 603ddef6832f19b9efab1642 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 02 Mar 2021 06:45:10 GMT Sender: saiprakash.ranjan=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5D6B4C43467; Tue, 2 Mar 2021 06:45:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 60477C433C6; Tue, 2 Mar 2021 06:45:09 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 02 Mar 2021 12:15:09 +0530 From: Sai Prakash Ranjan To: Doug Anderson Cc: Mathieu Poirier , Suzuki K Poulose , Mike Leach , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Leo Yan , Jiri Olsa , Namhyung Kim , coresight@lists.linaro.org, Stephen Boyd , Denis Nikitin , Mattias Nissler , Al Grant , linux-arm-msm , LKML , Linux ARM Subject: Re: [PATCHv2 2/4] perf evsel: Print warning for excluding kernel mode instruction tracing In-Reply-To: References: <523a5af43615b804aa1211a3f27e06226d7159bc.1614624041.git.saiprakash.ranjan@codeaurora.org> Message-ID: X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 2021-03-02 04:13, Doug Anderson wrote: > Hi, > > On Mon, Mar 1, 2021 at 11:05 AM Sai Prakash Ranjan > wrote: >> >> Add a warning message to check CONFIG_EXCLUDE_KERNEL_HW_ITRACE kernel >> config which excludes kernel mode instruction tracing to help perf >> tool >> users identify the perf event open failure when they attempt kernel >> mode >> tracing with this config enabled. >> >> Tested-by: Denis Nikitin >> Signed-off-by: Sai Prakash Ranjan >> --- >> tools/perf/util/evsel.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > > I'm not really knowledgeable at all about the perf subsystem so my > review doesn't hold a lot of weight. However, Sai's patch seems sane > to me. > > Reviewed-by: Douglas Anderson Thanks for the review, I carefully modified all the patch commit messages to change the config and wording from CONFIG_EXCLUDE_KERNEL_HW_ITRACE to CONFIG_EXCLUDE_KERNEL_PMU_TRACE but missed this commit message. I will fix this up in v3, but will hold off posting v3 till I get some feedback on other patches. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation