Re: Experience from writing trace_inputs.py

2014-03-21 Thread Marc-Antoine Ruel
2014-03-21 11:08 GMT-04:00 Dmitry V. Levin : > On Fri, Mar 21, 2014 at 10:49:55AM -0400, Marc-Antoine Ruel wrote: > [...] >> Yes I'm on 4.5.20. I mildly recall hitting problems when trying to >> compile strace's tip of tree since I think (?) it required a newer gcc &

Re: Experience from writing trace_inputs.py

2014-03-21 Thread Marc-Antoine Ruel
We got a race conditions with our emails, sorry for the duplicated arguments. In short, we are in agreement. 2014-03-21 9:43 GMT-04:00 Philippe Ombredanne : > In your case using the standard Python shlex module may be of some help? Eh, definitely a lack of knowledge on my part as I didn't know

Re: [GSOC 2014] structured output of strace

2014-03-21 Thread Marc-Antoine Ruel
Expanding specifically on the JSON streaming idea; (Sorry if I'm rehearsing ideas already stated, I just subscribed yesterday and only glanced at the recent archives) 2014-03-21 6:50 GMT-04:00 Zev Weiss : > (Though w.r.t another aspect of Marc-Antoine's comment -- JSON doesn't > necessarily have

Experience from writing trace_inputs.py

2014-03-20 Thread Marc-Antoine Ruel
Hi, I was pointed out to this thread. I wrote trace_inputs.py. It was used to isolate chromium tests and figure out which files are touched by each test case. It doesn't care about anything except files being opened so strace log parsing was kept to a minimum. Note that I've been mostly using the