On Sat 2020-06-13 09:57:29, Jim Cromie wrote: > change ddebug_parse_flags to accept optional filterflags before OP. > this now sets the parameter added in ~1 What is "~1", please? > --- > .../admin-guide/dynamic-debug-howto.rst | 18 +++++++---- > lib/dynamic_debug.c | 30 ++++++++++--------- > 2 files changed, 28 insertions(+), 20 deletions(-) > > diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst > index 6c04aea8f4cd..4f343e6036f5 100644 > --- a/Documentation/admin-guide/dynamic-debug-howto.rst > +++ b/Documentation/admin-guide/dynamic-debug-howto.rst > @@ -217,13 +217,19 @@ line > line -1605 // the 1605 lines from line 1 to line 1605 > line 1600- // all lines from line 1600 to the end of the file > > -The flags specification comprises a change operation followed > -by one or more flag characters. The change operation is one > -of the characters:: This removes rather useful information and there is no replacement. > +Flags Specification:: > > - - remove the given flags > - + add the given flags > - = set the flags to the given flags > + flagspec ::= filterflags? OP modflags > + filterflags ::= flagset > + modflags ::= flagset > + flagset ::= ([pfmltu_] | [PFMLTU_])+ # also cant have pP etc > + OP ::= [-+=] I have to say that dynamic debug interface always looked pretty complicated to me. But I have no idea what the above means. It explans some syntax. But it does not explain what filterfalgs and modflags mean and how they would affect the operation. Also some examples would be very useful. Best Regards, Petr