RFC: path display and path filtering features.

Grant Edwards grant.b.edwards at gmail.com
Sun Mar 13 18:15:49 UTC 2011


On 2011-03-12, Grant Edwards <grant.b.edwards at gmail.com> wrote:

> Attached are my current diffs. I've merged recent changes from the
> main git repository and addressed various comments.

I've decided that all the lines like this:

   (umovestr(tcp, tcp->u_arg[0], sizeof path, path), pathmatch(path))

are just too ugly.

I'm going to refactor things a bit and add a upathmatch() function
that accepts a pointer to a string in user-space.  That will eliminate
all of the comma-operators in those long boolean return expressions.

I'll submit new diffs on Monday.

-- 
Grant






More information about the Strace-devel mailing list