<div dir="ltr">Hi Philippe,<div><br></div><div>I have contacted with the author of POP. He says POP program is still under development and some features are still missing. Luckily, there is another program '<a href="https://github.com/ssavvides/parse-syscall-definitions">parse-syscall-definitions</a>' in his github. This program works well.</div>
<div><br></div><div>Thank you very much!</div><div><br></div><div>Best Regards,</div><div>Pengfei</div>







</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 5:49 PM, Pengfei Sun <span dir="ltr"><<a href="mailto:shaotian330@gmail.com" target="_blank">shaotian330@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Philippe,<div><br></div><div>Thanks for your suggestion. I also think the best source you say is the best, but I don't work out good code to collect them. If list them in manually, it is huge work. I think the posix-omni-parser project will be helpful. I just try them, there are some errors. I will check the details and give you feedback.</div>
<div class="">
<div><br></div><div>Thank you very much!</div><div><br></div><div>Best Regards,</div><div>Pengfei<br>

<div><br></div><div><br></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 4:14 PM, Philippe Ombredanne <span dir="ltr"><<a href="mailto:pombredanne@nexb.com" target="_blank">pombredanne@nexb.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Thu, Feb 20, 2014 at 8:48 PM, Pengfei Sun <<a href="mailto:shaotian330@gmail.com" target="_blank">shaotian330@gmail.com</a>> wrote:<br>


> I want to get the map among system call number, system call name, system<br>
> call arguments and arguments type. One solution is whether I can write one<br>
> program to get this map or there has been this map in strace? I also want to<br>
> know whether I can get this map dynamically. I means when get the system<br>
> call number from running program, can I get the system call name, arguments<br>
> and arguments type at the same time. I don't know whether strace supports<br>
> this function.<br>
<br>
</div></div>The best source is the source ;) and is going to be system specific,<br>
the second best source are the man 2 pages (i.e. man 2 <call name>)<br>
I have not checked it in details, but this project seem to implement<br>
some man page parser to use as some input to parsing strace output and<br>
interpreting syscalls: <a href="https://github.com/ssavvides/posix-omni-parser/" target="_blank">https://github.com/ssavvides/posix-omni-parser/</a><br>
and may be worth looking at. I have not tried it in any way or shape<br>
though and I would be interested to know if it is any good.<br>
<span><font color="#888888">--<br>
Philippe Ombredanne<br>
<br>
------------------------------------------------------------------------------<br>
Managing the Performance of Cloud-Based Applications<br>
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.<br>
Read the Whitepaper.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Strace-devel mailing list<br>
<a href="mailto:Strace-devel@lists.sourceforge.net" target="_blank">Strace-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/strace-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/strace-devel</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>