On 11 August 2016 at 08:56, liubowen (A) liubowen2@huawei.com wrote:
Hi Mathieu:
I am bob. Thanks for your time.
Now, I want to enable ETR to store trace messages instead of ETB, of which the size is only 16KB. Maybe the size is not large enough, the perf.data is not complete, and something goes wrong. And Chunyan Zhang also
suggests me try ETR. Here, many thanks to Chunyan Zhang at the same time. ^_^
What I want is like as follows, CoreSight blocks are listed in the device tree for a specifiv system and discovered at boot time.
By the way, what board is this?
So, I follow the Documentation/devicetree/bindings/arm/coresight.txt which is in the kernel. However this doc tells us how to configure the ETB without ETR. In fact, ETR is a little more complex.
I tried to configure ETR in the DTS according to the master and slave relations among CoreSight blocks, buf failed finally.
Here , can you show me a DTS demo including the configuration of ETR when you are really convenient. I will be very sorry if I do trouble you.
Thanks for your time!!
Best Regards,
Bob