I need to work on writing a memory profiler for an embedded system that runs a linux kernel.
Can someone guide me how do I start going about it?
What are the necessary kernel functions that I will be needing to start with? Are there any hardware dependencies?
I have worked with Valgrind on a PC but this is a huge code to port to my requirement.
I appreciate if someone could guide me to some links that can help me.
Thanks in advance
It's *extremely* unlikely that you "... need to write a memory profiler for an embedded system that runs a linux kernel".
If you've got a Linux kernel ... then you've probably got a memory profiler ... for FREE.
More specifically, you've got a CHOICE of many DIFFERENT profiling and performance analysis tools for free.
"Free" as in "you don't have to re-invent the wheel" (vs "freedom", "beer" or skittles ;-))
Buy either of these two (most excellent!) books. They'll literally pay for themselves within a page or two. Honest!
"Building Embedded Linux Systems", Yahgmour et al
"Embedded Linux Primer", Hallinan
'Hope that helps .. PSM
|All times are GMT -5. The time now is 09:30 PM.|