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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A202FC433F5 for ; Sun, 6 Feb 2022 11:52:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234580AbiBFLw4 (ORCPT ); Sun, 6 Feb 2022 06:52:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235088AbiBFLvK (ORCPT ); Sun, 6 Feb 2022 06:51:10 -0500 X-Greylist: delayed 116 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 06 Feb 2022 03:51:08 PST Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9F72C06173B; Sun, 6 Feb 2022 03:51:08 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6C4EB60B3B; Sun, 6 Feb 2022 11:51:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8A4BC340E9; Sun, 6 Feb 2022 11:51:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644148267; bh=LgbUOAbjGglJ4FW76fzaOyzGTdrip6nwKqyf2FbyCtg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rClSM6SmtDb6zi3aDr6KM3B/BZ2zmCL3pdOecSVGja0/OIuL1tK0Sw/Thc4XZKzuU cRn9GMAmQqv8zy1BiWeFzJolqZ9dI6zfSma7KMee4O3Y8ceVjg5hTzS5OmfPjQ95xr kuAWu/P+bEU/Y/EOSl+72OtKp4dKaLCgab6Fm6ArXFCNtpwCuvA9GKRKs3ev+4dTFf B3O74q7l0J0vBEQvnxE7LKCB5SCnlzIF5ZrW5oO6oa0bcWKBOX0UUhPvJOep2WAsHL zYfgHB6unpUmCoSqAU97DcBCcaEJNI+MMXb8UMei9UJoJNGECEM3FSA+jZmfDjK5h6 sgJ2pYI+LguAA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id E7CD4404A6; Sun, 6 Feb 2022 08:51:05 -0300 (-03) Date: Sun, 6 Feb 2022 08:51:05 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: German Gomez , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim Subject: Re: [PATCH] perf tools: apply correct label to user/kernel symbols in branch mode Message-ID: References: <20220126105927.3411216-1-german.gomez@arm.com> <7474e11b-6bd5-515d-0ebf-883d0656a359@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7474e11b-6bd5-515d-0ebf-883d0656a359@arm.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Wed, Jan 26, 2022 at 11:27:16AM +0000, James Clark escreveu: > On 26/01/2022 10:59, German Gomez wrote: > > @@ -928,7 +928,7 @@ static int hist_entry__sym_to_snprintf(struct hist_entry *he, char *bf, > > struct addr_map_symbol *to = &he->branch_info->to; > > > > return _hist_entry__sym_snprintf(&to->ms, to->al_addr, > > - he->level, bf, size, width); > > + to->al_level, bf, size, width); > > } > > > > return repsep_snprintf(bf, size, "%-*.*s", width, width, "N/A"); > > > > Looks good to me, I didn't see any other usages where it could be broken. > > Reviewed-by: James Clark Thanks, applied. - Arnaldo