From: Raghuramchary J. <Rag...@ln...> - 2011-10-13 09:21:40
|
Hello Experts, I'm trying to profile the pcie driver using oprofile. From the FAQ I see that -p option is given to profile the kernel modules. But I get invalid argument when I execute the -p option. Below are the steps I tried: --------------------- opcontrol --setup --no-vmlinux opcontrol --reset opcontrol -p pcie.ko >> specifying the kernel module name gives invalid argument opcontrol --start ./myapp opcontrol --dump opcontrol --shutdown opreport -l --------------------- Please let me know if I'm missing anything. Do I need to make changes in makefile to build the .ko module? Any events I need to set? I've tried setting up BUS_TRANS_ANY events opcontrol --event=BUS_TRAN_ANY:500:0x40 but I don't get any useful info . My driver is fpga based pcie driver which reads and writes the data. Appreciate your help. Thanks, Raghu ________________________________ The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail" ______________________________________________________________________ |