Is adding debug symbols to a kernel module as simple as adding -g to the gcc command? If not, would you point me at a web page that shows how to compile the debug symbols with a kernel module.
Thanks, Jason --------------------------------------------------------------------------- Jason Edgecombe | Linux and Solaris Administrator UNC Charlotte | The William States Lee College of Engineering 9201 University City Blvd. | Charlotte, NC 28223-0001 Phone: 704-687-3514 [email protected] | http://coe.uncc.edu --------------------------------------------------------------------------- If you are not the intended recipient of this transmission or a person responsible for delivering it to the intended recipient, any disclosure, copying, distribution, or other use of any of the information in this transmission is strictly prohibited. If you have received this transmission in error, please notify me immediately by reply e-mail or by telephone at 704-687-3514. Thank you. -----Original Message----- From: Simon Wilkinson [mailto:[email protected]] Sent: Friday, October 15, 2010 5:23 AM To: Edgecombe, Jason Cc: openafs-devel Devel Subject: Re: [OpenAFS-devel] Linux debug symbols for kernel modules and cache manager On 14 Oct 2010, at 17:14, Edgecombe, Jason wrote: > > Do the openafs RPMs include the debug symbols for the kernel modules and > afsd? I need to analyze the performance of AFS on RHEL5.5 x86_64, and I would > like to use oprofile to do that. If the debug symbols are missing, how can I > create them? Debug symbols for afsd are contained in the openafs-debuginfo package. We're not currently distributing debug symbols for kernel modules. Patches for this are, of course, very welcome. S. _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
