SPRU514Z July 2001 – October 2023 SM320F28335-EP
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.