Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp172948pxb; Mon, 7 Feb 2022 08:43:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrEn1vaSx6ZeKlhg0nnv1ucMWwFfrNPmYtIdShE6erBDeNjIP57kA7UX+9UrljpQlj66mi X-Received: by 2002:a17:907:868f:: with SMTP id qa15mr483101ejc.518.1644252230771; Mon, 07 Feb 2022 08:43:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644252230; cv=none; d=google.com; s=arc-20160816; b=ATMq6nZYweVi6uX2i7JULqKFmphPmJFck1uDq1SpN8klrXzJWJI/bhDat1k+mT5kSY gTVUSHAepSs6hjDRx54RAl+M0v1k/SkewdOVYb3Tkc/poNaXufcucqgqUvq3w9YBC/4q IjZZX46GgjSX/ujE2VBaXpzdVQK+i0wfv5A6IUDCSAX7q/y3ESGgt6tQXug8dK1tFnpq QfdIVGW11Ayzqn8jNyVktK0O5EYB9IvCLfobKkEnZK02nSEHCKi+WxeiFygrfkKD8vpH RXdQ+oQjxi6hx2Envh2wH9lJhWUZs/0VjEigDI+Z7cMT/HpGH+7+89vqQj0sfna4wbHy +PVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9XBRff8a+iY905yGAISWX0UcV2UzxQfsd5VSTsliwRA=; b=L3zC6d69lN5MsNvxUjjY8jNvLwN1hdsOMr0ydrmqFo4prfLAcRHPhMrZnASsFeW3nM O6Tr9aVhrbOIsrWXbYImt6UeerH341Qad96EKpw+riduVzxh+mPWU6qrfIFa635MSL/L iCeA4N5CLVhk4+tU38VFvomaIreXo59Mhd4Gn2B4OSPbf1g3osoPniKvdBKV83SXp6Yg BNiggixnEYcZZ37jXX7py2Ay0Eb+bUUNdjo3dGX9vx4cuThKcSTG1LXppnbhdrBLzlsv D4AqOu6Qt8YSWVUO70k6EuHIhm1Im8jrVuXto8ERr79XlXp/IK//vz8bZf6HQhCIOlNq Yj0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="WFNwq7g/"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb7si2297308ejc.549.2022.02.07.08.43.25; Mon, 07 Feb 2022 08:43:50 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b="WFNwq7g/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234380AbiBFLgq (ORCPT + 99 others); Sun, 6 Feb 2022 06:36:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231858AbiBFLgp (ORCPT ); Sun, 6 Feb 2022 06:36:45 -0500 X-Greylist: delayed 137 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 06 Feb 2022 03:36:44 PST Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EF26C06173B for ; Sun, 6 Feb 2022 03:36:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 281F4B80CF3; Sun, 6 Feb 2022 11:36:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF723C340E9; Sun, 6 Feb 2022 11:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644147402; bh=9H1aLnXFwQuN26Qhe9WeLQmHk0RPxQNas6gi/cJ4cvE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WFNwq7g/MC3JcrRVKkHTHc3M7QV27EshenrMOIK4i4n5hbszRyFhQIAGIKKgqlCfR 6dDXqzN2gHZ9KcjqqcWgywKC3JqKBBqzcUOYKP84A8aNPOL9SWULHb6wdTq1nBPfxo vAiEFzqiLsGnFkIe1u21d6CpYFgHM29DWVLNHKt86a9M4y52M4n32dPbckLiZNA7XG AJ4nfBKjpOACxmYdgV/C5VD+ecsLdoAW+3tiACuCMuln6xmIQnWY+Vu2xH0/Zh/iCH 7Q8Tu3pNJ+h0w1NTzIGy5ThVr8YlC7Z8I6M+FEC8ti+qRty2ZfFxQfefYTeFzZ5Plg 4ZB5OX/uwmbKQ== 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 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