开发者

Measuring execution time of functions and call count in linux module

I am maintaining a kernel module on linux 2.6.18 (RHEL 5.5) kernel and we are seeing some performance issues.

I am trying to use oprofile for general profiling but it does not provide (or I do not know the option) statistics regarding how many times a function was called or how much time it took to execute a particular function. I can write my own code for measur开发者_运维知识库ing time taken in executing each function but it would be difficult to insert this into each function.

Is there a profiler that can accomplish this?


Try also using the latest flamegraphs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜