[PATCH v4] Implement -e trace=/regex option

Dmitry V. Levin ldv at altlinux.org
Fri Apr 14 17:31:20 UTC 2017


On Fri, Apr 14, 2017 at 12:27:08PM +0800, JingPiao Chen wrote:
> * qualify.c: Include <regex.h>.
> (qualify_syscall_regex): New function.
> (qualify_syscall): Use it.
> * strace.1: Document -e trace=/regex option.
> * NEWS: Mention -e trace=/regex option.
> * tests/regex.test: New test.
> * tests/Makefile.am (DECODER_TESTS): Add it.
> * tests/options-syntax.test:
> Add check for invaild regexp and for regexp that doesn't match a syscall.

Applied with minor changes, 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/20170414/ea21b024/attachment.bin>


More information about the Strace-devel mailing list