kernel code를 profiling하는 방법은 없을까요??

ihavnoid의 이미지

직접 제작한 하드웨어와 통신하면서 대량의 연산을 하는 프로그램을 짜고 있습니다.. 근데 kernel부분의 코드가 이상할정도로 느리게 작동하더군요... 그래서 profiling을 해보고 싶은데요... kernel 코드를 profiling할 방법은 없을까요..??

그동안 유저모드에서 돌렸을때는 gprof를 아주 유용하게 썼었는데.. ^^

ganadist의 이미지

----
데스크탑 프로그래머를 꿈꾸는 임베디드 삽질러

ihavnoid의 이미지

관심을 보여주셔서 감사합니다.....

근데 문제는... platform이 x86이 아니라 ARM인데요..-_-;

Consider the ravens: for they neither sow nor reap; which neither have storehouse nor barn; and God feedeth them: how much more are ye better than the fowls?
Luke 12:24

ganadist의 이미지

흠 arm 커널 멜링에서 뒤벼보니 readprofile 이라는걸 쓰는거 같더군요.

readprofile 홈페이지 http://www.advogato.org/proj/readprofile/

쓰는법 http://lists.arm.linux.org.uk/pipermail/linux-arm/2002-November/004563.html

----
데스크탑 프로그래머를 꿈꾸는 임베디드 삽질러

kodol의 이미지

여기서 profiling이란 개념을 잘 모르겠는데요...
혹시 특정 platform상에서 특정 program source를 돌렸을경우에 performance를 simulation해주는 것인지여?

그렇다면 powerpc에 대한 profile 기능을 제공해주는 tool은 어디서 찾을 수 있을까요?