Using regular expression filter system call

Dmitry V. Levin ldv at altlinux.org
Fri Apr 14 17:37:06 UTC 2017


On Tue, Apr 11, 2017 at 08:31:53AM +0800, JingPiao Chen wrote:
> On Mon, Apr 10, 2017 at 3:57 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
> >On Sat, Apr 08, 2017 at 10:16:52PM +0800, JingPiao Chen wrote:
> >> Recently, class %sched and %clock are added. Is it necessary to add
> >> regular expression to filter system call?
> >
> >Indeed.  Do we really need %sched and %clock if the same effect can be
> >achieved using ^sched and ^clock regexps?
> 
> I think %sched and %clock should be remove.

As trace=%sched means essentially the same as trace=/sched, as well
as trace=%clock means essentially the same as trace=/clock, I removed
both %sched and %clock; sched.test and clock.test remain but changed
to use regex match.

trace=%statfs remains because the equivalent trace=/^(.*_)?statv?fs
is not as obvious as /sched and /clock.


-- 
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/e8a2921d/attachment.bin>


More information about the Strace-devel mailing list