Re: [PATCH v9] Implement decoding of statx syscall

2017-04-12 Thread Dmitry V. Levin
On Sat, Mar 18, 2017 at 06:19:07PM +0300, Victor Krapivensky wrote: [...] Note that a few more statx bits and pieces have seeped into v4.11: > diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h > index 62960d2..73165b8 100644 > --- a/linux/x86_64/syscallent.h > +++ b/linux/x86_64/

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

2017-04-12 Thread JingPiao Chen
* qualify.c (qualify_syscall_regex): New function. (qualify_syscall_name): Use qualify_syscall_regex function. * strace.1: Document it. * NEWS: Mention this. * tests/regex.test: Check this. * tests/Makefile.am (DECODER_TESTS): Add regex.test. * tests/options-syntax.test: Add check for invaild regex

Re: [PATCH v3] Implement -e trace=/regex option

2017-04-12 Thread Dmitry V. Levin
On Wed, Apr 12, 2017 at 09:31:51PM +0800, JingPiao Chen wrote: > * qualify.c (qualify_syscall_regex): New function. It should bein with * qualify.c: Include > (qualify_syscall_name): Use qualify_syscall_regex function. Use it? > * strace.1: Document it. What's "it"? > * NEWS: Mention this.

Re: [PATCH v3] Implement -e trace=/regex option

2017-04-12 Thread JingPiao Chen
On Thu, Apr 13, 2017 at 5:10 AM, Dmitry V. Levin wrote: >On Wed, Apr 12, 2017 at 09:31:51PM +0800, JingPiao Chen wrote: >> @@ -198,6 +199,48 @@ qualify_syscall_number(const char *s, struct number_set *set) >> return done; >> } >> >> +static bool >> +qualify_syscall_regex(const char *s, struct n