<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Shariyar" <syed.shariyar@gmail.com><br><b>To: </b>lttng-dev@lists.lttng.org<br><b>Sent: </b>Friday, December 6, 2013 10:47:37 PM<br><b>Subject: </b>[lttng-dev] What are sys calls starting with compat?<br><div><br></div><div dir="ltr"><div><div>Can someone kindly explain the difference between system calls starting with "compat" prefix and regular system calls?</div></div></div></blockquote><div><br></div><div>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.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div><div><div><br></div> Compat system calls do not appear in the system call table: <a href="http://syscalls.kernelgrok.com/" target="_blank">http://syscalls.kernelgrok.com/</a>. However, I did found them in the source code of Linux.<br><br></div>Thanks,<br></div>Shariyar<br></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com<span name="x"></span><br></div></div></body></html>