[PATCH] pathtrace.c: introduce user-provided sets of paths

Dmitry V. Levin ldv at altlinux.org
Mon Jul 10 11:11:08 UTC 2017


On Sat, Jul 08, 2017 at 03:28:56PM +0700, Nikolay Marchuk wrote:
> * defs.h (struct path_set): Add a definition for a path set.
> (global_path_set): Add a declaration.
> (tracing_paths): Change macro body to use global path set variable.
> (pathtrace_select_set, pathtrace_match_set): Change declarations.
> (pathtrace_select, pathtrace_match): New macroses.
> * pathtrace.c (global_path_set): Define global path set.
> (pathmatch, upathmatch, fdmatch, pathtrace_match_set): Accept user-provided
> set of paths, change return type to bool.
> (storepath, pathtrace_select_set): Accept user-provided set of paths.

Edited the commit message and applied, thanks.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170710/a4b944d0/attachment.bin>


More information about the Strace-devel mailing list