On 23 August 2016 at 10:24, liubowen (A) liubowen2@huawei.com wrote:
Hi Mathieu,
I am Bob.
I still get stuck. I feel not good. However, I should move on.
The reason why I fail is as follows.
On current station, I work on the board similar to D02 made from Hisilicon. And the Image comes from “4.7.0-rc2” into which we have added a lot drivers related with the board.
From the log from git, the latest change about coresight for “4.7.0-rc2” is “2016-05-21”. But “perf-opencsd-4.7” has changed a lot after the point “2016-05-21”.
Maybe ,the problem is here. I make a “perf” executable from
“perf-opencsd-4.7”, but the coresight drivers used to generate trace data aren’t complete. The drivers come from “4.7.0-rc2” not “perf-opencsd-4.7”.
So, I intend to make a Image from the branch “perf-opencsd-4.7”,
but there is a lot of work in adding relational drivers with the board. I give up this way for the moment.
So, I want to add complete coresight driver from “perf-opencsd-4.7” into “4.7.0-rc2” which I am working on. Can you help me? Can you offer me the whole patches about coresight and others necessary?
I have tried to compare the file from the two branches, and make the relational files same to the files in “perf-opencsd-4.7” by hand, but it is not clever.
I am sorry to trouble you. I hope my question is clear for you. Howevew, thanks very much for your time!!
Best regards!
Bob
You have found the problem - congratulation. I am working very hard on upstreaming all the out-of-tree code available on github (perf-opencsd-4.8-rc1) but it will probably take a few more kernel cycle before everything finds its way mainline.
I am not sure how else I can help you, or if I can help you at all. All the code is publicly available and updated with each new kernel cycle.
Best regards, Mathieu