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

Reply via email to