"Profiling" feature mentioned on the PF SOC HSS GitHub page - any more details? #303
Replies: 3 comments
-
The profiling mentioned in the README is specifically concerned with internal profiling of the HSS. There is a Kconfig option ( To enable profiling on a file-by-file basis, you can add custom rules to the appropriate Makefile to add Perhaps more useful are the profile counters, in
All of these counters are timing sequential events, except for the 4 |
Beta Was this translation helpful? Give feedback.
-
Hello, as a follow-on to this thread this is the exact scenario I am trying to get to work, for the HSS targeting an Icicle Kit. I would like to get profiling working when building up the latest version of HSS, 2203.02.1. I can build the image without an issue but then when enabling the option referenced above (CONFIG_DEBUG_PROFILING_SUPPORT) I get 3 undefines at link time.. g5soc_init_mutex, g5soc_take_mutex and g5soc_release_mutex. The errors make sense when looking at the code since they are referenced but not defined. It seems an extra library or source code needs to be brought in somehow.. |
Beta Was this translation helpful? Give feedback.
-
Hi @rockoguido - it was definitely not pilot error on your part. We've just pushed a fix to enable profiling in the HSS. Edit the .config manually and it should build okay for you. For documentation including how to use this, see https://github.com/polarfire-soc/polarfire-soc-documentation/blob/master/hss-and-u-boot/profiling.md |
Beta Was this translation helpful? Give feedback.
-
Are there more detailed instructions and-or a user example regarding the "Profiling" feature mentioned on the PF SOC HSS GitHub page?
Beta Was this translation helpful? Give feedback.
All reactions