Duplicate events for 32-bit compatible syscall probes

Aryeh Weinreb weinrea@gmail.com
Fri Apr 26 13:41:00 GMT 2013


> OK, here's a solution that I actually tested with syscall.open.
> Basically if the function name we're probing has 'compat_' in it, skip it.
>
> ====
> probe syscall.open
> {
>   if (isinstr(ppfunc(), "compat_")) {
>     next
>   }
>   # ... your real code here

Thanks.

Unfortunately I don't have ppfunc since I'm only on 1.8, but I guess
if we are ignoring EFAULT I could also just:
probe kernel.function("sys_mq_*)



More information about the Systemtap mailing list