enabling oprofiler support in a 2.6.16.29 kernel
Hi - I'm reading that linux has profiling support in the 2.6 kernel built-in, but whenever I try to run opcontrol, it complains that
opcontrol --vmlinux=/boot/vmlinux-`uname -r` In "make menuconfig" I can't find any options related to profiling that I can enable from the menu. So, I googled around, found an article on linux-mag that suggests this: To enable OProfile in your kernel, set CONFIG_PROFILING, CONFIG_OPROFILE, and CONFIG_APIC to y and recompile. I those are the lines I added to the bottom of my .configI found COFIG_APIC in my .config already, but not the other two. I tried adding them manually to the bottom of my .config file, but they got wiped out as soon as I did a "make". My questions. 1. where in the menuconfig can I find options to enable oprofile support? 2. Why is it that when I add the lines directly to .config, they go away after I build? 3. Am I using the wrong version of the kernel? Thanks for any help you can offer. |
Quote:
|
All times are GMT -5. The time now is 02:45 AM. |