This is the mail archive of the systemtap@sourceware.org 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: [SYSTEMTAP/PATCH 0/4] RT aware systemtap patch set


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


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