how to trace function call in C?

后端 未结 8 1740
遇见更好的自我
遇见更好的自我 2020-12-02 13:45

Without modifying the source code, how can i trace which functions are called and with what parameters, when some function(say func100 in the following example) is in

8条回答
  •  余生分开走
    2020-12-02 14:24

    If you were on linux, callgrind might help. It basically collects statistics of what you're looking for, so, it might provide a way to access its raw data.

提交回复
热议问题