process to inspect generated assembly of a function

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Fri Jun 6 12:29:55 EDT 2014


On Fri, 06 Jun 2014 12:23:35 -0400, Andev said:

> I am trying to inspect the generated assembly for a function in the
> kernel. Are there any documents explaining how to do this? I want to
> see how it changes when I change the function body.

The same exact way you'd do it for any .o file for userspace.

objdump and gdb are your friends.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140606/71b0a96f/attachment.bin 


More information about the Kernelnewbies mailing list