This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: corrected: tapset/script information template


William Cohen wrote:


Yes, that is the same case for the x86/x86-64. All taken branches are trapped, so the trap handler needs to look at the instruction to determine whether it is a call, ret, or regular branch.


What does the ppc MSR[BE] do with the branch instructions used for implementing the atomic operations? Want to make sure that the atomic operations work correctly.


Atomic operations on ppc64 invariably use lwarx/stwcx before and after the branch instructions. And Anton tells me that stepping over them is a pain. He did suggest some ideas about how they can be tackled. Will look at it in further detail.

Ananth


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]