Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp409639pxu; Wed, 25 Nov 2020 06:20:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5y2T/P/Bc5Bty2T0qszMpaSrmphqaGZzKetsxTAhNot4hB5DV5AyoizN4M7xjCulKOl9U X-Received: by 2002:a50:9fe6:: with SMTP id c93mr3761441edf.30.1606314059086; Wed, 25 Nov 2020 06:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606314059; cv=none; d=google.com; s=arc-20160816; b=PflPO2AYiJK6Ogb35Z1KiyEhpRnjVorJW5Q7aYa+D4OFuM3xGbz6xDFMqPl7HqzllJ R9B1jO0KyWA6M1Xf+17bJeb6s08jYk63GSDSbhmHEC4D9Y06hTsa/hoXCGg1abevSqZJ 3iT5bg8G9jSy7plCQzJPOmkh/nDMGuw1CYo3S0PFH/htY+WMnUaIu6s74bxl6x+gPhRL egYHZC6QOCDmNwn47tWcfLAFugz9tm0YujSWMOEDyPq7y571/9VJJ2qPCiZA3DNbN1fG /dozfPzHj/QcOApbyXv0MMmC6OviqU+aFA0CHVXhsqypSh+nAkEB5UEj9f6815u0sJW5 u07g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kyubn6JY1qJHEmt7UMKHvnelG9Dh/BmlNmk6tsnRi4A=; b=S35mMMt4HhlSwNe7Q5blmkM23Yv/iWyOf+QtA+P6oHT3BPXz1F9CCn1D/mp8Jmghsz ohzq3mhzZvKX6ixtmz/SgL0uceIUVy1bPU/E0SLHMJYoaHNqg0Nu2m4HXRwHPex9wIul 8+KwH2/SBXLcwMS8x3vQ4EyBkqswI5WG80pHrEgzqaF3SndMONXvAdBNWzYYd2qVrynj 720qkCvV2yryM84ZYdigDdSLS2ZIrGP3VyxNajy1trqPH4cDYCQhdGJB8kq5FYf1XxWh 6tZgmKZpjny119EXvpLR/aGuYPi+r5ykSsPM8+IW4ILZyNzNHkR+PQvUP2VEROzTIfn5 VPJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GXKJWyQQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z1si1254777ejw.262.2020.11.25.06.20.31; Wed, 25 Nov 2020 06:20:59 -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=@kernel.org header.s=default header.b=GXKJWyQQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729981AbgKYOSE (ORCPT + 99 others); Wed, 25 Nov 2020 09:18:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:38726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729621AbgKYOSD (ORCPT ); Wed, 25 Nov 2020 09:18:03 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 11D2B206D9; Wed, 25 Nov 2020 14:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606313883; bh=vfuMr1GX34MA8Nxr+S5nYqXXfoBNK8HjoqQ+R6uEnQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GXKJWyQQOsMgEyfyWgOmFs34DrkGhYCRSk+D9xBH/UVUFeGyDDhhdYdkTz4khVJs3 fRUpXKRU6thCD4jfUJiZ09uubOFzX3pPOXgN7QQFafmPtdU0BDZaJFclmSWUZVYqmA cRP0YT48Gz3fOHXDh4DHnN9gVOJL3Tuj0ut/0dEc= Date: Wed, 25 Nov 2020 14:17:56 +0000 From: Will Deacon To: Leo Yan Cc: Arnaldo Carvalho de Melo , Andre Przywara , Dave Martin , James Clark , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Al Grant , Wei Li , John Garry , Mathieu Poirier , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v9 00/16] perf arm-spe: Refactor decoding & dumping flow Message-ID: <20201125141755.GB16159@willie-the-truck> References: <20201119152441.6972-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119152441.6972-1-leo.yan@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 11:24:25PM +0800, Leo Yan wrote: > This is patch set v9 for refactoring Arm SPE trace decoding and dumping. > > According to comments and suggestions from patch set v8, it squashs the > two patches into single one: "perf arm-spe: Refactor printing string to > buffer" and "perf arm-spe: Consolidate arm_spe_pkt_desc()'s return > value". > > In the patch 01/16, it renames the function arm_spe_pkt_snprintf() to > arm_spe_pkt_out_string(), since the function is not the same semantics > with snprintf(), the renaming can avoid confusion. > > This patch set is cleanly applied on the top of perf/core branch > with commit 29396cd573da ("perf expr: Force encapsulation on > expr_id_data"). > > This patch set has been tested on Hisilicon D06 platform with commands > "perf report -D" and "perf script", compared the decoding results > between with this patch set and without this patch set, "diff" tool > shows the result as expected. > > I also manually built the patches for arm/arm64/x86_64 and verfied > every single patch can build successfully. I'm unable to test this, so I'm please that you can! Anyway, it all looks fine from a quick look: Acked-by: Will Deacon so I think Arnaldo can pick this up when he's ready. Cheers, Will