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 X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 066BAC433EF for ; Tue, 7 Sep 2021 03:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBD8B61078 for ; Tue, 7 Sep 2021 03:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233052AbhIGDd7 (ORCPT ); Mon, 6 Sep 2021 23:33:59 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:9006 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbhIGDd5 (ORCPT ); Mon, 6 Sep 2021 23:33:57 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4H3W684hMyzVsc4; Tue, 7 Sep 2021 11:32:00 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Tue, 7 Sep 2021 11:32:44 +0800 Received: from [127.0.0.1] (10.69.38.203) by dggema757-chm.china.huawei.com (10.1.198.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Tue, 7 Sep 2021 11:32:44 +0800 Subject: Re: [PATCH 1/2] Documentation: tracing: Documentation for ultrasoc SMB drivers To: Mathieu Poirier , Linuxarm CC: , , , , References: <20210719111737.47891-1-liuqi115@huawei.com> <20210719111737.47891-2-liuqi115@huawei.com> <20210906173446.GD1228692@p14s> From: "liuqi (BA)" Message-ID: <58e929cf-29a6-26ec-807f-94cca17bb708@huawei.com> Date: Tue, 7 Sep 2021 11:32:43 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20210906173446.GD1228692@p14s> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.38.203] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mathieu, On 2021/9/7 1:34, Mathieu Poirier wrote: > On Mon, Jul 19, 2021 at 07:17:36PM +0800, Qi Liu wrote: >> Ultrasoc trace module is a system level solution for tracing, and SMB >> is the component in trace module to store trace message. This patch >> brings in a documentation for ultrasoc SMB driver and simple introduces >> how to use ultrasoc SMB by sysfs interface and perf interface. >> >> Signed-off-by: Qi Liu >> +Example usage of perf:: >> + >> + $# ./perf list pmu >> + cs_etm// [Kernel PMU event] >> + $# ./perf record -e cs_etm/@sink_smb0/ -C 0 --per-thread sleep 2s >> + [ perf record: Woken up 2 times to write data ] >> + [ perf record: Captured and wrote 0.288 MB perf.data ] >> + $# ./perf report > > This IP block works like any other sink device and as such I don't really see a > need for this documentation - especially since it is mostly conveying the same > information already present in coresight.rst. > Yes, smb works as a sink device. got it, I'll drop this documentation next time. Thanks, Qi > Thanks, > Mathieu > >> -- >> 2.17.1 >> > . > 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 X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82777C433F5 for ; Tue, 7 Sep 2021 03:34:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 44929610A3 for ; Tue, 7 Sep 2021 03:34:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 44929610A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=inI1CFbIIpJgjdMXabE6Wx0gLOb2avX6lgPRDgk/Wm8=; b=rpgrKN/pVRpprWawcR2b9y7ydW 6RdA6afl51Gmc3ib9Gu/HLf5OekNYwFokETx2oMTN/8JcYw5MEVIaGE0m4Hm8I8w5ACGNnqEyWFXq nNiT8qmfXe2c5qJah5rnXGo5DZfk3gWVBnLYNo+IQJD3pYYGi3gNZNDLeQI1F77iod7OIkc/28FvP CWAN7bOMaIVkp0TKLBVR+7VjDQNZnzjPiNPbrJqijY6ll4t5Oyifekdh6Ffa2c6ey8981sqAeIVCn 0NNHVwYgF1OO4UrprKDTE6znQ6SyjYLRuORhgH2MtHJIL4A1nKkm7CFKghzzj0w/lhsW9qzIdkmKt OOixB17g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNRr0-002MGZ-Jz; Tue, 07 Sep 2021 03:32:58 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNRqw-002MFt-JL for linux-arm-kernel@lists.infradead.org; Tue, 07 Sep 2021 03:32:56 +0000 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4H3W684hMyzVsc4; Tue, 7 Sep 2021 11:32:00 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Tue, 7 Sep 2021 11:32:44 +0800 Received: from [127.0.0.1] (10.69.38.203) by dggema757-chm.china.huawei.com (10.1.198.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Tue, 7 Sep 2021 11:32:44 +0800 Subject: Re: [PATCH 1/2] Documentation: tracing: Documentation for ultrasoc SMB drivers To: Mathieu Poirier , Linuxarm CC: , , , , References: <20210719111737.47891-1-liuqi115@huawei.com> <20210719111737.47891-2-liuqi115@huawei.com> <20210906173446.GD1228692@p14s> From: "liuqi (BA)" Message-ID: <58e929cf-29a6-26ec-807f-94cca17bb708@huawei.com> Date: Tue, 7 Sep 2021 11:32:43 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20210906173446.GD1228692@p14s> Content-Language: en-GB X-Originating-IP: [10.69.38.203] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210906_203254_864289_408CF0D8 X-CRM114-Status: GOOD ( 13.07 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mathieu, On 2021/9/7 1:34, Mathieu Poirier wrote: > On Mon, Jul 19, 2021 at 07:17:36PM +0800, Qi Liu wrote: >> Ultrasoc trace module is a system level solution for tracing, and SMB >> is the component in trace module to store trace message. This patch >> brings in a documentation for ultrasoc SMB driver and simple introduces >> how to use ultrasoc SMB by sysfs interface and perf interface. >> >> Signed-off-by: Qi Liu >> +Example usage of perf:: >> + >> + $# ./perf list pmu >> + cs_etm// [Kernel PMU event] >> + $# ./perf record -e cs_etm/@sink_smb0/ -C 0 --per-thread sleep 2s >> + [ perf record: Woken up 2 times to write data ] >> + [ perf record: Captured and wrote 0.288 MB perf.data ] >> + $# ./perf report > > This IP block works like any other sink device and as such I don't really see a > need for this documentation - especially since it is mostly conveying the same > information already present in coresight.rst. > Yes, smb works as a sink device. got it, I'll drop this documentation next time. Thanks, Qi > Thanks, > Mathieu > >> -- >> 2.17.1 >> > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel