[lttng-dev] What are sys calls starting with compat?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Dec 10 10:31:19 EST 2013


----- Original Message -----
> From: "Daniel Thibault" <Daniel.Thibault at drdc-rddc.gc.ca>
> To: lttng-dev at lists.lttng.org
> Cc: "Mathieu Desnoyers" <mathieu.desnoyers at efficios.com>
> Sent: Tuesday, December 10, 2013 9:57:21 AM
> Subject: Re: [lttng-dev] What are sys calls starting with compat?
> 
> > Date: Tue, 10 Dec 2013 01:55:48 +0000 (UTC)
> >
> > System calls with "compat" prefix are for e.g. 32-bit processes running on
> > a 64-bit kernel:
> > those processes are using a different system call table (ia32 for Intel)
> > than 64-bit processes,
> > and therefore those system calls are named "compat_*" by LTTng.
> >
> > Mathieu
> 
>    I presume the LTTng event names will also be prefixed with "compat_".

Yes.

>  For
>    instance, "compat_sys_rmdir".

Yes.

>  Or would it be "sys_compat_rmdir"?

No.

>  And
>    what of the exit_syscall and sys_unknown events?

exit_syscall has no compat prefix as I recall.

compat_sys_unknown.

Thanks,

Mathieu



-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list