Re: Ftrace, KASLR and gdb

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

 





On 13/05/2024 18:25, Steven Rostedt wrote:

Ah, so you are running gdb on the live kernel.

Yep - sorry I didn't make it clear in the first place :)

So, is there currently another method to reach the same effect ?

Besides kgdb (usually another machine connected to the live kernel),
this is probably the only way to do what you want.
Ok, thank you for the info.

One reason I'm not using kgdb, beside the obvious pain it is to set up a second machine with the appropriate link... is the spirit of ftrace itself: no need for breakpoints when you have a nearly-zero-overhead, flexible logger.

And learning from the "live beast" is a 1000x speedup wrt reading the source. Learning the Linux Kernel, as open as its source may be, largely remains a reverse-engineering operation. With Ftrace, Pahole, and Gdb, one can dig *anywhere*. My reasserted kudos for making this possible !

-Alex



____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux