Re: process to inspect generated assembly of a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgpQI2emxiaDp.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux