I also add email@example.com so we can track and follow up your questions more formally. Also translate your question into English as we can ask more English speaker to help for related questions as needed.
So the questions is "how to profiling IPA and enable ftrace event for it"?
- In generally, please don't manually do this thing by yourself. Workload-automation has prepared all this profiling flow already:
This docuemenation is very important when you want to easily start: https://github.com/ARM-software/workload-automation/blob/master/doc/source/q...
- To enable workload-automation, you need set configuration file at host PC side so it can connect with board smoothly:
This file usually is in the folder: ~/.workload_automation/config.py; so "wa" command will use this configuration file to connect target board.
- Then need define the testing configuration file so that can run the test case automatically, enabling ftrace events, and finally output profiling log files, you can refer the file: ipa_tunning.yaml;
wa run ~/ipa_tunning.yaml -d ipa_tunning
So finally you will all logs are saved in "ipa_tunning" folder.
- After get the result, it will save trace.dat file into the log folder, so you can use trappy to analyse the file for temperature curves. The trappy have a very good example file is: https://github.com/ARM-software/trappy/blob/master/doc/00%20-%20Quick%20star...
I have enclosed my ~/.workload_automation/config.py file and ipa_tunning.yaml for reference. If have any further question, just let me know.
Thanks, Leo Yan
On Mon, Jun 20, 2016 at 05:05:03PM +0800, firstname.lastname@example.org wrote:
目前情况是： 1.使能IPA； 2.打开Function Tracer，下面这些events是否满足 trace-cmd record -e cpu_frequency* -e cpu_idle -e thermal -e thermal_power_allocator
WA和TRAPpy对我们来说都是全新的，能否提供一个ready的模板： 能否提供一个WA Agenda的模板 能否提供TRAPpy相关分析脚本，如果能和WA结合出一个结果。然后我们可以做其他修 改。
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.