dgl / perl-Sys-Trace

Perl interface to system call tracing interfaces (strace, ktrace)
1 stars 2 forks source link

[GSOC 2014] structured output of strace #1

Closed yangminzhu closed 6 years ago

yangminzhu commented 10 years ago

Hi, I'm yangmin zhu. I'm a master student from University of Chinese Academy of Sciences and now I'm participating in the Google Summer of Code 2014. I'm working for the strace project about structured output. You can find more information from [1] and [2]. And I find your work from [3]. I think it would be great to contact the strace output parser's author to collect their actual needs. I'm trying to modify strace to support output in JSON format. But I'm not very clear what the exact format you want. For examole, 1) should all the value in the JSON output be string? or some value should be number? 2) which of the followling style of syscall's arguments do you prefer? "args" : ["arg1", "arg2", "arg3" ] or "arg1" : [ "arg1_name" : "arg1_value", "arg2_name" : "arg2_value" ]

ANY suggestions are welcome.

Thank you. yangmin zhu

[1] http://sourceforge.net/p/strace/wiki/GoogleSummerOfCode2014/ [2] http://sourceforge.net/p/strace/mailman/message/31924683/ [3] http://search.cpan.org/~dgl/Sys-Trace-0.03/lib/Sys/Trace/Impl/Strace.pm

jitendra-khasdev commented 9 years ago

My Fav output format:- "function name" : { "arg1", "arg2", "arg3" }