[SYSTEMTAP/PATCH 0/4] RT aware systemtap patch set

Josh Stone jistone@redhat.com
Mon Sep 15 16:22:00 GMT 2014


Hi,

On 09/15/2014 08:41 AM, Santosh Shukla wrote:
> first wanted to get raw_locking specific to get into stap.

One ugly aspect of this is that we try to maintain compatibility with
older platforms too.  It looks like raw_spin_lock didn't come into the
kernel until 2.6.33, which doesn't even cover RHEL6.  If possible we try
to keep things running all the way back to RHEL4 (though see my earlier
RFC about dropping that).

That said, we can get away with new interfaces in some cases.  e.g. I
believe stp_utrace.c and task_finder2.c can only be used on 3.x kernels.
 But anything that's more generic, like addr-map.c, will need some kind
of wrapper or compat #define added to let it work on older kernels too.
 Maybe just #define raw_spin_lock spin_lock, etc.


Josh



More information about the Systemtap mailing list