[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58e929cf-29a6-26ec-807f-94cca17bb708@huawei.com>
Date: Tue, 7 Sep 2021 11:32:43 +0800
From: "liuqi (BA)" <liuqi115@...wei.com>
To: Mathieu Poirier <mathieu.poirier@...aro.org>,
Linuxarm <linuxarm@...wei.com>
CC: <suzuki.poulose@....com>, <mike.leach@...aro.org>,
<coresight@...ts.linaro.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] Documentation: tracing: Documentation for ultrasoc
SMB drivers
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 <liuqi115@...wei.com>
>> +Example usage of perf::
>> +
>> + $# ./perf list pmu
>> + cs_etm// [Kernel PMU event]
>> + $# ./perf record -e cs_etm/@...k_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
>>
> .
>
Powered by blists - more mailing lists