Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1598958rwn; Fri, 9 Sep 2022 00:32:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR6pe+gn6jbG7OKRr3Zn0wmkvHYqLIgl33xB65yEkn3OXu6lthnmkbFhlFyOLdsJg0RY3GvS X-Received: by 2002:a17:90b:38cb:b0:200:aaa6:6428 with SMTP id nn11-20020a17090b38cb00b00200aaa66428mr8329032pjb.47.1662708734662; Fri, 09 Sep 2022 00:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662708734; cv=none; d=google.com; s=arc-20160816; b=OrIO7ggjWXj8vmKifq6IuypuCE/aLT+bf48hfegtWBBOI6t3KBXn9yIYeqtLREfdqy 0lqHFE3DBF/l6JAbc2tpiznXpTh0EmZZJkyrPLNAPmGJTDebtiH7jioxvmF51ogSblvC JtScZDAcWIvCzaHDiVu8izk6aRjWp7qsP2FOiPc96jL/Sir2+kU6EzAZWwCsydT72dxs 2ntbpN6qj70usGnzccx4Uc3qchJAb6U9mSsYc9xNcdbEiPKWU4O++2SNlUG08B7HLQzh qzg1nM47W+vx1v4H9VwX6X5vGPNytyb0k/Wl3MSjXk1fcpIf6EHweMXVjEZw7p7DVfFV XmYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:to:subject :cc; bh=1t64F5R8jCHSx6KTr+5sY9gpBm5tksnfh2a4wwrDLzI=; b=AWZy2uw7BE1a3od1Kjo9oHW2KSnUz+iSGvJHhqy5QKlePsMbKW+ftUacSJBjuIlH4p zxaPhIO4MasIaUHOdAHc0Po9m0s/zaQOIFYDHsn8k1RmSqWBZMqdWrwRqw+gy/dY6jzE eSL/G73ZnG29BiHQ0fJp4thkIyj8Azy+CKzCIkZXJ3EnLoghwBTCDU9ykGGyK/H5YyTX LAY//wuDWwkkTSisfweGq4X0i6M7rG2MSCI0wl7bo2+jamFhDpxhbmI464+wTEfy0uyr J1ZF9ah1w11kvHjOFU0HvFBrv9hLAp1BreJWYSHj3MClLYKKgYRexaaCpQ5VUdMyxB6D PUmA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a639d06000000b00437ec09f592si1109091pgd.556.2022.09.09.00.32.02; Fri, 09 Sep 2022 00:32:14 -0700 (PDT) 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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbiIIGWc (ORCPT + 99 others); Fri, 9 Sep 2022 02:22:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiIIGWa (ORCPT ); Fri, 9 Sep 2022 02:22:30 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3590A1216BD; Thu, 8 Sep 2022 23:22:26 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MP5Q76xMhzZcmB; Fri, 9 Sep 2022 14:17:51 +0800 (CST) Received: from [10.67.102.169] (10.67.102.169) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 9 Sep 2022 14:22:23 +0800 CC: , , , , , , , , , , , , Subject: Re: [PATCH v12 0/3] Add perf support for HiSilicon PCIe Tune and Trace device To: , , , , , , , , , , , References: <20220816125757.60302-1-yangyicong@huawei.com> From: Yicong Yang Message-ID: Date: Fri, 9 Sep 2022 14:22:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20220816125757.60302-1-yangyicong@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.169] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 Hi Perf maintainers, A gentle ping for this. Since the driver part has been accepted, hope the corresponding perf part can catch this kernel version as well. Thanks! On 2022/8/16 20:57, Yicong Yang wrote: > From: Yicong Yang > > This patchset adds the perf tool support for HiSilicon PCIe Tune and Trace > device [1]. The device driver makes use of perf AUX trace for tracing > TLP(Transaction Layer Packet) headers of PCIe. The trace can be used by > `perf record` and the traced data can be decoded by `perf report` with > this patchset. The detailed usage is documented in [1]. > > This is split from the v11 series as suggested to send driver part and > perf tool part separately. The perf tool part has no change since v11. > The whole changelog can be found at [2]. > > [1] https://lore.kernel.org/lkml/20220816114414.4092-5-yangyicong@huawei.com/ > [2] https://lore.kernel.org/lkml/20220816114414.4092-1-yangyicong@huawei.com/ > > Qi Liu (3): > perf tool: arm: Refactor event list iteration in > auxtrace_record__init() > perf tool: Add support for HiSilicon PCIe Tune and Trace device driver > perf tool: Add support for parsing HiSilicon PCIe Trace packet > > tools/perf/arch/arm/util/auxtrace.c | 116 +++++++++-- > tools/perf/arch/arm/util/pmu.c | 3 + > tools/perf/arch/arm64/util/Build | 2 +- > tools/perf/arch/arm64/util/hisi-ptt.c | 188 +++++++++++++++++ > tools/perf/util/Build | 2 + > tools/perf/util/auxtrace.c | 4 + > tools/perf/util/auxtrace.h | 1 + > tools/perf/util/hisi-ptt-decoder/Build | 1 + > .../hisi-ptt-decoder/hisi-ptt-pkt-decoder.c | 164 +++++++++++++++ > .../hisi-ptt-decoder/hisi-ptt-pkt-decoder.h | 31 +++ > tools/perf/util/hisi-ptt.c | 192 ++++++++++++++++++ > tools/perf/util/hisi-ptt.h | 19 ++ > 12 files changed, 703 insertions(+), 20 deletions(-) > create mode 100644 tools/perf/arch/arm64/util/hisi-ptt.c > create mode 100644 tools/perf/util/hisi-ptt-decoder/Build > create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.c > create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.h > create mode 100644 tools/perf/util/hisi-ptt.c > create mode 100644 tools/perf/util/hisi-ptt.h >