SPRUI04F july 2015 – april 2023
Profile information collected in phase 1 is stored in the .ppdata section, which must be allocated into target memory. The .ppdata section contains profiler counters for all functions compiled with --gen_profile_info. The default lnk.cmd file has directives to place the .ppdata section in data memory. If the link command file has no section directive to allocate the .ppdata section, the link step places the .ppdata section in a writable memory range.
The .ppdata section must be allocated memory in multiples of 32 bytes. Please refer to the linker command file in the distribution for example usage.