Can anyone please help.

 

Thanks,

Raghu

 

From: Raghuramchary Jallipalli
Sent: Thursday, October 13, 2011 2:52 PM
To: oprofile-list@lists.sourceforge.net
Subject: Help: profiling the kernel module

 

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"

______________________________________________________________________

______________________________________________________________________


______________________________________________________________________