On Mon, Apr 10, 2017 at 11:04 AM, Zev Weiss <z...@bewilderbeest.net> wrote:
>On Mon, Apr 10, 2017 at 02:12:02AM +0900, Masatake YAMATO wrote:
>>> Recently, class %sched and %clock are added. Is it necessary to add
>>> regular expression to filter system call?
>>
>>Interesting feature.
>>
>>> I use '@' as the prefix of regular expression. I think following regular
>>> expressions may be used. @time, @[pg]id, @^wait @xattr, @^dup, @^send,
>>> @^recv, @^read, @^write, @^sem, @^shm, @^msg, @^inotify, @^pkey_
>>
>>How about '/' (slash)?
>>
>>vi and sed users may be familiar with the notation.
>>
>>Masatake 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.
Yes, '/' is better, I updated the patch.
--
JingPiao Chen
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel