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 496A4C433EF for ; Sun, 6 Feb 2022 11:38:44 +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=ZxtIe09mecTIUhd6bbN4MUK8X5fpcBH+/Vs1IC351Og=; b=JewT0bJ8SEj9et fxEsD5qBWlst1L0h56gphpxpaZuEdEu8cwnvpkIYz81AE8JPG6Y7E2wCGZgaGDKAVocyXINLL6DY+ UT2EdfkgT5VwnD8dteYDPNnklqvTKSQiuKiCNr00Qt4af5hhIvGWzLEaTopk5kBGksZTad8+2vEg2 CjjLNQTbp4Z4VaVDF7NOehY0FHFgGYhRFbcr5Uobg+upHn9hRvZf10FQX7PvPHXbunLyqNDWEfIev edvFecycS7OZPcjVeE5S9UHfzift6D6thMo+DaLwAPq0N3dBZg0/R6dPwAorqrdVnN+zqIIryxfpu U7mQm9jNGSP0M+4EtdYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGfqb-00887c-Nf; Sun, 06 Feb 2022 11:36:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGfqX-00887V-Sn for linux-arm-kernel@bombadil.infradead.org; Sun, 06 Feb 2022 11:36:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9XBRff8a+iY905yGAISWX0UcV2UzxQfsd5VSTsliwRA=; b=fgao3wX79+6FfkG7x3LQS1pmRN vCN4o7Nv/ydLDCV5xlAmBziL/pyUId847wZbBS+l1sEf6MKakw2VQvywwtu7m1hTWk3Bbx3ISzKIN lfefgpHIm+nf30pH7i/JpzzzpNSGzZ0WPa/7Xs5mICXaaTF9PI7cHOC3NIuGCAHcHSrMJn8AW5J0Y sbx7r6vUZO+XxtYHLn+VAH5ejMT/2TcRdY1RMzHks9wZKBzHmNzrw4TnIvxl0HNxmpPoKIpFJIyj2 8XM2lxgkq7BuAVJEW1V3/pLztXTcumua0mdwCp7l8BBLHElnrL+H/2eN9X6zfzLY24fIsw/YfDIRy ZGWEZpiQ==; Received: from [179.97.37.151] (helo=quaco.ghostprotocols.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nGfqW-007PON-7H; Sun, 06 Feb 2022 11:36:44 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 18DB8404A6; Sun, 6 Feb 2022 08:36:40 -0300 (-03) Date: Sun, 6 Feb 2022 08:36:40 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Anshuman Khandual , linux-arm-kernel@lists.infradead.org, james.clark@arm.com, Peter Zijlstra , Ingo Molnar , Mark Rutland , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: tools: Add missing branch_sample_type Message-ID: References: <1643799443-15109-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com 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 Em Wed, Feb 02, 2022 at 05:55:45PM +0100, Jiri Olsa escreveu: > On Wed, Feb 02, 2022 at 04:27:23PM +0530, Anshuman Khandual wrote: > > This updates branch sample type with missing PERF_SAMPLE_BRANCH_TYPE_SAVE. > > > > Cc: Peter Zijlstra > > Cc: Ingo Molnar > > Cc: Arnaldo Carvalho de Melo > > Cc: Mark Rutland > > Cc: linux-perf-users@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Suggested-by: James Clark > > Signed-off-by: Anshuman Khandual > > Acked-by: Jiri Olsa Thanks, applied. - Arnaldo > thanks, > jirka > > > --- > > tools/perf/util/perf_event_attr_fprintf.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/tools/perf/util/perf_event_attr_fprintf.c b/tools/perf/util/perf_event_attr_fprintf.c > > index 47b7531f51da..98af3fa4ea35 100644 > > --- a/tools/perf/util/perf_event_attr_fprintf.c > > +++ b/tools/perf/util/perf_event_attr_fprintf.c > > @@ -52,7 +52,7 @@ static void __p_branch_sample_type(char *buf, size_t size, u64 value) > > bit_name(ABORT_TX), bit_name(IN_TX), bit_name(NO_TX), > > bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP), > > bit_name(CALL), bit_name(NO_FLAGS), bit_name(NO_CYCLES), > > - bit_name(HW_INDEX), > > + bit_name(TYPE_SAVE), bit_name(HW_INDEX), > > { .name = NULL, } > > }; > > #undef bit_name > > -- > > 2.20.1 > > -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel