Re: Using regular expression filter system call

2017-04-09 Thread Zev Weiss
YAMATO > Agreed, this sounds like it would be a very handy feature -- though I'd suggest /regex/ for the syntax (a slash at each end, rather than just at the start) to match sed, awk, perl (I think dtrace also has similar predicate syntax as well?) etc. Zev Weiss

Re: [PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Zev Weiss
On Mon, Apr 25, 2016 at 03:17:09AM +0300, Dmitry V. Levin wrote: Hi, On Sun, Apr 24, 2016 at 06:52:44PM -0500, Zev Weiss wrote: Hello, I noticed recently that strace puts quotes around the f_type member of struct statfs: statfs(".", {f_type="EXT2_SUPER_MAGIC", ...}) =

[PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Zev Weiss
without quotes (since it's just a macro, not a string). Unless there's some more subtle reason for the current formatting that I'm not seeing, could the attached patch be applied to remove them? Thanks, Zev Weiss >From 10a64ba963e65ade2d00c7d0c2d6434e1ec2dc54 Mon Sep 17

Re: [GSOC 2014] structured output of strace

2014-03-21 Thread Zev Weiss
On Mar 21, 2014, at 8:25 AM, Philippe Ombredanne wrote: > On Fri, Mar 21, 2014 at 11:50 AM, Zev Weiss wrote: >> On Mar 20, 2014, at 12:54 PM, yangmin zhu wrote: >>> Hi, >>> I'm yangmin zhu. I'm a master student from University of Chinese Academy of >

Re: [GSOC 2014] structured output of strace

2014-03-21 Thread Zev Weiss
(CCing strace-devel as well, hope that's OK...) On Mar 20, 2014, at 12:54 PM, yangmin zhu wrote: > 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 abo

Re: Structured output?

2014-02-03 Thread Zev Weiss
I'm not sure how much use it'd be in another context, but for what it's worth I've written a partial parser for its current output format (assuming a few flags, 'strace -fqtttTv' basically) for a project of mine, a trace replayer called ARTC: https://research.cs.wisc.edu/wind/Software/artc/ So

Re: [PATCH] Print io_submit() offsets in decimal.

2013-03-30 Thread Zev Weiss
On Mar 30, 2013, at 6:17 PM, "Dmitry V. Levin" wrote: > Hi, > > On Fri, Mar 29, 2013 at 03:37:00PM -0500, Zev Weiss wrote: >> Hello, >> >> Current strace prints the offset members of iocb structs passed to >> io_submit() in hex, which I can't

[PATCH] Print io_submit() offsets in decimal.

2013-03-29 Thread Zev Weiss
ficult to parse. Could the below patch be applied to instead print them in decimal? Thanks, Zev Weiss diff --git a/desc.c b/desc.c index 69d9e43..f585b91 100644 --- a/desc.c +++ b/desc.c @@ -913,13 +913,13 @@ sys_io_submit(struct tcb *tcp)