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

Re: [patch] thread-aware coredumps, 2.5.43-C3



Pavel Machek wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>Having the last branch before a crash would be cool.  Its easy to
>>add note 
> 
> 
> How do you get that info in the first place? I do not think CPU stores
> info about last branch it did...

Haven't seen a reply so far so here it goes.

Look at Intel's System Programming manual for P4.  One of the MSRs
stores this information.  0x1d7 on P4/P4 Xeon.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xND12ijCOnn/RHQRArenAKCxDdvn7stItfZJaQiAkrgHtf55UQCfTQ/a
Wng6nzdmSip5ZXrN6Mh4Hrs=
=dXdO
-----END PGP SIGNATURE-----





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