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

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Dec 9 20:55:48 EST 2013


----- Original Message -----

> From: "Shariyar" <syed.shariyar at gmail.com>
> To: lttng-dev at lists.lttng.org
> Sent: Friday, December 6, 2013 10:47:37 PM
> Subject: [lttng-dev] What are sys calls starting with compat?

> Can someone kindly explain the difference between system calls starting with
> "compat" prefix and regular system calls?

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. 

Thanks, 

Mathieu 

> Compat system calls do not appear in the system call table:
> http://syscalls.kernelgrok.com/ . However, I did found them in the source
> code of Linux.

> Thanks,
> Shariyar

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131210/d5966cdf/attachment.html>


More information about the lttng-dev mailing list