This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Profile Data Decoder produces single byte output file



Hello,

I'm running CCS v. 5.0.3 on Linux and attempting to use dynamic profile information to improve the code placement, as described in the optimizing compiler user’s guide (section 3.9.4 etc.).

I've been able to successfully generate a “.pdat” file by running my program after compiling with “--gen_profile_info”. However, I’ve been unable to process that output file with the “profile data decoder” program, pdd6x.

Specifically, if I run:

pdd6x -e=our.out -o=pprofout.prf pprofout.pdat

the output file that I get has only a single byte in it. No errors/warnings are given. 

FYI, the binary is in ELF format.

Is there any way to diagnose what is going wrong here? 

Thanks very much.