<div dir="ltr"><div class="gmail_extra"><span class="gmail-im" style="font-size:12.8px"><div class="gmail_extra">On Mon, Apr 10, 2017 at 11:04 AM, Zev Weiss <<a href="mailto:zev@bewilderbeest.net" target="_blank">zev@bewilderbeest.net</a>> wrote:</div><div class="gmail_extra">>On Mon, Apr 10, 2017 at 02:12:02AM +0900, Masatake YAMATO wrote:</div><div class="gmail_extra">>>> Recently, class %sched and %clock are added. Is it necessary to add</div><div class="gmail_extra">>>> regular expression to filter system call?</div><div class="gmail_extra">>></div><div class="gmail_extra">>>Interesting feature.</div><div class="gmail_extra">>></div><div class="gmail_extra">>>> I use '@' as the prefix of regular expression. I think following regular</div><div class="gmail_extra">>>> expressions may be used. @time, @[pg]id, @^wait @xattr, @^dup, @^send,</div><div class="gmail_extra">>>> @^recv, @^read, @^write, @^sem, @^shm, @^msg, @^inotify, @^pkey_</div><div class="gmail_extra">>></div><div class="gmail_extra">>>How about '/' (slash)?</div><div class="gmail_extra">>></div><div class="gmail_extra">>>vi and sed users may be familiar with the notation.</div><div class="gmail_extra">>></div><div class="gmail_extra">>>Masatake YAMATO</div><div class="gmail_extra">>></div><div class="gmail_extra">></div><div class="gmail_extra">>Agreed, this sounds like it would be a very handy feature -- though I'd </div><div class="gmail_extra">>suggest /regex/ for the syntax (a slash at each end, rather than just at </div><div class="gmail_extra">>the start) to match sed, awk, perl (I think dtrace also has similar </div><div class="gmail_extra">>predicate syntax as well?) etc.</div><div class="gmail_extra"><br></div></span><div class="gmail_extra" style="font-size:12.8px">Yes, '/' is better, I updated the patch.</div><div class="gmail_extra" style="font-size:12.8px"><br></div><div class="gmail_extra" style="font-size:12.8px">--</div><div class="gmail_extra" style="font-size:12.8px">JingPiao Chen</div></div></div>