public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/5549] New: To make systemtap compatible with the x86/x86_64 pt_regs unification patch.
@ 2008-01-07 13:25 srinivasa at in dot ibm dot com
  2008-01-07 13:28 ` [Bug runtime/5549] " srinivasa at in dot ibm dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2008-01-07 13:25 UTC (permalink / raw)
  To: systemtap

Peter Anvin patch renames struct pt_regs members and this causes systemtap to 
break Anvin's patched kernel.
=====================================
commit 155178ca42d8529e54097704a11f1e6988bc8264
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Sat Dec 22 03:03:00 2007 +0100

    x86: rename the struct pt_regs members for 32/64-bit consistency
   
    We have a lot of code which differs only by the naming of specific
    members of structures that contain registers.  In order to enable
    additional unifications, this patch drops the e- or r- size prefix
    from the register names in struct pt_regs, and drops the x- prefixes
    for segment registers on the 32-bit side.
   
    This patch also performs the equivalent renames in some additional
    places that might be candidates for unification in the future.
   
    Signed-off-by: H. Peter Anvin <hpa@zytor.com>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
========================================


Right now this patch is present in -mm tree and expected to be merged in 
next -rc (probably in 2.6.25-rc1) release.
So I have developed the patch which makes systemtap to work on this situation.
I have used  KERNEL_VERSION() to retain the backward compatibility of systemtap.

Please let me know your comments.

-- 
           Summary: To make systemtap compatible with the x86/x86_64 pt_regs
                    unification patch.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: srinivasa at in dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5549

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-08 11:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-07 13:25 [Bug runtime/5549] New: To make systemtap compatible with the x86/x86_64 pt_regs unification patch srinivasa at in dot ibm dot com
2008-01-07 13:28 ` [Bug runtime/5549] " srinivasa at in dot ibm dot com
2008-01-07 21:11 ` mhiramat at redhat dot com
2008-01-08 11:03 ` srinivasa at in dot ibm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).