Hi Philippe,

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.

Thank you very much!

Best Regards,
Pengfei




On Thu, Feb 20, 2014 at 4:14 PM, Philippe Ombredanne
<[email protected]>wrote:

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

Reply via email to