Can anyone please help.
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 -p pcie.ko >> specifying the kernel module name gives invalid argument
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.
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"