Hi Mathieu:
I am bob. And I go to bother you again. ^_^
Now, the trace data can be written into perf.data, just like that. The cmd is “perf record –C 0 –e cs_etm/@sink=44001000.etr/ uname”.
However, when I want to report the perf.data, I get the error message just like that.
Have you ever met this problem?
I am also working hard to solve this problem by myself. I have spent some time on studing the coresight drivers code by adding print . When we use perf to record trace data, it goes like that, from my opinion,
It is only what I think based on the print message added into the kernel by myself. I am not sure it is true.
And the perf.data contains two AUXTRACE instance in my case.
If true, I have some questions here. Because we want to get the continuous flow of instructions using coresight, between (1) and (2), the corsight is in state of stopped or disabled, finally we
will get discontinuous flow of instructions. Do you think so?
On the other hand, in my test case, only the trace data made from (1) and (2) are written into perf.data, but the trace data made from (3) does not. I don’t know why. And I have another question annoyed me,
when (1) is done, which one condition is to trigger (2)? I think it is something about perf, and I have studied the perf code, and still confused.
And everytime the record is done, I will also get the bug info like that. I am working on version 4.7 from your kernel, I have tried to use version 4.8 from your kernel, but the same bug info. Have you ever met?
I am sorry to trouble you. And Thanks very much for your time. I am a beginner, and beg your pardon. And I am interested in your project, I hope I can make it come true on my platform.
And, as you say, I do not get a good understanding of the coresight. So I have spent some time on reading the CoreSight_Architecture_Specifi
cation and CoreSight Trace Memory Controller recently. I get a lot. However
I still need your suggestions. Thanks very very much!
Best regards.
Bob.