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: [RFC]Moving kprobe [dis]arming into arch specific


On Tue, May 10, 2005 at 11:22:18AM -0700, rusty.lynch@intel.com wrote:

Hi Rusty,

.....

> I thought arch_[dis]arm_kprobe was the most descriptive of what was really 
> happening, but each of the architectures already had a disarm_kprobe() function
> that was really a "disarm and do some other clean-up items as needed when
> you stumble across a recursive kprobe."  So... I took the liberty of changing
> the code that was calling disarm_kprobe() to call arch_disarm_kprobe(), and
> then do the cleanup in the block of code dealing with the recursive kprobe
> case. 

The changes look good.

> So far I have tested on i386 and x86_64, but don't have access to a sparc64
> or ppc64 to verify the patch is correct.  For those familiar with sparc64 and
> ppc64, please look over my changes of any obvious problems (or better yet
> try the patch out.)

I gave it a spin on ppc64 and it works fine!

Ananth


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