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.

How to get "callgraph" by using "Feedback and Analysis Options" properly?

I tried to use "Feedback and Analysis Options" to get a callgraph, but got an error message when choosing callgraph from the pulldown arrow: "#24018-D: Option --analyze is not valid with --gen_profile_info ".  Can anyone give an correct way to do it?  Thanks, 

  • Unfortunately, that is an error in the compiler manual.  The option --analyze=callgraph is not supported by the TI ARM compiler.  I filed the entry CODEGEN-6270 in the SDOWP system to have this error corrected.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George

  • Thank you, George, in my understanding from your information, since it is an error in the compiler manual and --analyze=callgraph is not supported by TI ARM complier, the callgraph in CCS v9 does not work as it is designed to do. Is this correct? Thank you for your timely reply. Neil
  • Neil Lu said:
    the callgraph in CCS v9 does not work as it is designed to do

    I'm not sure what callgraph you refer to.  Perhaps you could take a screen shot, and attach it to your next post.

    Or ... Just tell me about the overarching problem you'd like to solve.  Don't worry about what options the compiler has, or what features you see in CCS.  What do you want to do?

    Thanks and regards,

    -George

  • Thank you, George, the callgraph is one of the  "--analyze=<callgraph|codecov> option in "Feedback and Analysis Option".  Please see the attached screen shot of CCS.  I am going to use the callgraph to analyze the stack usage for our function calls.  If TI ARM Compiler does not support --analyze=callgraph, we can naturally infer that CCS does not support the -analyze=callgraph also because CCS uses the TI ARM compiler.  The question is why CCS V9 has this feature here?  

    callgraph.docx

  • Neil Lu said:
    the callgraph is one of the  "--analyze=<callgraph|codecov> option in "Feedback and Analysis Option"

    Unfortunately, it is an error that "callgraph" is displayed as a valid choice.  It is not supported.

    Neil Lu said:
    I am going to use the callgraph to analyze the stack usage for our function calls.

    Instead, use the menu selection View | Stack Usage.

    Thanks and regards,

    -George