Balavinayagam Samynathan
2017-01-20 19:58:57 UTC
Hi ,
I am profiling a dma_driver (dma_driv.ko module) in Ubuntu 14.04 (kernel
version 3.13.0-32-generic).
For opreport and opannotate I use the -p option to point to the driver
module. The driver code exists in the same directory, but I still see "*no
location information" *next to the driver
For opannotate I also used the following options
"""
*opannotate --source --base-dirs=/root/rdma_driver/linux/
--search-dirs=/root/dma_driver/linux/ -p /root/dma_driver/linux/
./testDriver*
"""
I did get the debug version of the kernel and I can see the opreport on
individual functions in the kernel. Only location information for my driver
module is not found.
I compiled my driver with "*-g*" option and placed them under
"""
*/usr/lib/debug/lib/modules/3.13.0-32-generic/kernel/drivers/dma_driver*
"""
But I am still getting "(no location information)" next to my driver
functions
I am profiling a dma_driver (dma_driv.ko module) in Ubuntu 14.04 (kernel
version 3.13.0-32-generic).
For opreport and opannotate I use the -p option to point to the driver
module. The driver code exists in the same directory, but I still see "*no
location information" *next to the driver
For opannotate I also used the following options
"""
*opannotate --source --base-dirs=/root/rdma_driver/linux/
--search-dirs=/root/dma_driver/linux/ -p /root/dma_driver/linux/
./testDriver*
"""
I did get the debug version of the kernel and I can see the opreport on
individual functions in the kernel. Only location information for my driver
module is not found.
I compiled my driver with "*-g*" option and placed them under
"""
*/usr/lib/debug/lib/modules/3.13.0-32-generic/kernel/drivers/dma_driver*
"""
But I am still getting "(no location information)" next to my driver
functions
--
Thanks in advance
Bala
Thanks in advance
Bala