<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>"tarek slaymia" <tarek.slaymia@gmail.com><br><b>To: </b>lttng-dev-request@lists.lttng.org, lttng-dev@lists.lttng.org<br><b>Sent: </b>Wednesday, August 20, 2014 7:15:21 PM<br><b>Subject: </b>[lttng-dev] Question about how to retrieve ip value of a syscall<br><div><br></div><div dir="ltr"><div><div><div><div>Hi all ,<br></div>i tried to implement an event in statedump in order to compare the runtime syscall address and the syscall symbol address ( the same address displayed in ip field when i use lttng kprobe ).<br><br></div>did you know how can i retrieve the syscall symbol value using my function in lttng-statedump-impl.c file ?<br></div>i have an other issue when i tried to list all kernel event , the new event that i add in lttng-module isn't displayed . did i miss something ?<br><br></div>you find in attachment the additional code .</div></blockquote><div>Does the printk within lttng_enumerate_syscall_address_list()</div><div>print anything on the console when you start tracing ?<br></div><div><br></div><div>Try adding printk in your code to see what is happening. It's not executed often,<br></div><div>so it should be easy to understand what is going wrong by adding printk statements.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><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><br></div><div>BR<br></div></div></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>