On 9 November 2016 at 08:06, Yan Lin Aung yan_lin_aung@yahoo.com wrote:
Hi Mathieu,
Thanks for your reply. Sorry for a bit of delay on my response.
Just a bit of intro on myself. I am a research staff from Nanyang Technological University, Singapore.
Basically, I used the build scripts provided with Linaro deliverables for Juno and TC2 from ARM at this link: https://community.arm.com/docs/DOC-10803
I am able to get the system running either with prebuilt binaries or building from source. For Linaro release 16.09 with built from source option, the Linux 4.8.x runs on Juno r2. In the default configuration, coresight was not activated. I tried to update the config file to enable coresight drive and recompiled. However, the coresight devices are not populated somehow.
I would like to have a setup with which I will be able to do some experiments as demonstrated in your presentation at the very minimum. So, my specific question will be that how shall I proceed to get coresight, perf with coresight and OpenCSD working properly using the Linaro release 16.09.
You won't have the required pieces in 16.09. To replicate the examples shown in the presentation you will have to use the kernel found on github [1]. Since you have a Juno R2 I suggest to use branch perf-opencsd-4.9-rc1 - that way you won't have to deal with power domain management. Note that CoreSight is not part of the default V8 configuration as needs to be explicitly enabled.
Thanks, Mathieu
[1]. https://github.com/Linaro/OpenCSD
If you are not using Linaro release 16.09 and have other means of getting things up with coresight, perf and OpenCSD on Juno, please kindly share with me. I am quite keen to follow your steps and try it out at my side here.
Looking forward to hear from you and thanks.
Regards, Yan Lin Aung
On Monday, November 7, 2016 11:32 PM, Mathieu Poirier mathieu.poirier@linaro.org wrote:
---------- Forwarded message ---------- From: Yan Lin Aung yan_lin_aung@yahoo.com To: "coresight@lists.linaro.org" coresight@lists.linaro.org Cc: Date: Mon, 7 Nov 2016 03:45:45 +0000 (UTC) Subject: perf with CoreSight and OpenCSD on TC2 and Juno r2 Hi Linaro Coresight Team,
I came to know of "Hardware Assisted Tracing on ARM with CoreSight and OpenCSD" by Mathieu Poirier. In his presentation, he mentioned the reference platforms to evaluate perf with CoreSight and OpenCSD are Vexpress TC2 and Juno (Page 7 on his slide).
I just checked the "HOWTO.MD" at OpenCSD github site. However, there is very limited info on how to get started with Vexpress TC2 and Juno.
I have access to the TC2 and Juno r2 platforms. Please provide a rather detailed version of getting started guide to try out perf with CoreSight and OpenCSD on either TC2 or Juno r2.
Hello Yan Lin,
You are correct, the HOWTO.md on github concentrates on CoreSight and doesn't address platform specifics - something like this would be out of scope. I'm not exactly sure of what you are looking for in a "getting started guide"... Both Juno and TC2 are well supported upstream and can be booted with a mainline kernel. The choice of bootloader and user space are entirely up to users and don't affect the CoreSight suite nor its integration with the perf subsystem.
The fact that you have access to both platform leads me to believe you are part of a large organisation. As such there is definitely people around you with experience on how to set-up the platforms.
I can try to answer specific questions if you have any.
Thanks, Mathieu
Thanx.
Regards, Yan Lin Aung