Re: [PATCH v6 17/57] dyndbg: validate class FOO by checking with module

2022-09-12 Thread jim . cromie
On Mon, Sep 12, 2022 at 2:17 PM Jason Baron wrote: > > > > On 9/9/22 16:44, jim.cro...@gmail.com wrote: > > On Wed, Sep 7, 2022 at 12:19 PM Jason Baron wrote: > >> > >> > >> > >> On 9/4/22 17:40, Jim Cromie wrote: > >>> Add module-to-class validation: > >>> > >>> #> echo class DRM_UT_KMS +p > /

Re: [PATCH v6 17/57] dyndbg: validate class FOO by checking with module

2022-09-12 Thread Jason Baron
On 9/9/22 16:44, jim.cro...@gmail.com wrote: > On Wed, Sep 7, 2022 at 12:19 PM Jason Baron wrote: >> >> >> >> On 9/4/22 17:40, Jim Cromie wrote: >>> Add module-to-class validation: >>> >>> #> echo class DRM_UT_KMS +p > /proc/dynamic_debug/control >>> >>> If a query has "class FOO", then ddebu

Re: [PATCH v6 17/57] dyndbg: validate class FOO by checking with module

2022-09-09 Thread jim . cromie
On Wed, Sep 7, 2022 at 12:19 PM Jason Baron wrote: > > > > On 9/4/22 17:40, Jim Cromie wrote: > > Add module-to-class validation: > > > > #> echo class DRM_UT_KMS +p > /proc/dynamic_debug/control > > > > If a query has "class FOO", then ddebug_find_valid_class(), called > > from ddebug_change(),

Re: [PATCH v6 17/57] dyndbg: validate class FOO by checking with module

2022-09-07 Thread Jason Baron
On 9/4/22 17:40, Jim Cromie wrote: > Add module-to-class validation: > > #> echo class DRM_UT_KMS +p > /proc/dynamic_debug/control > > If a query has "class FOO", then ddebug_find_valid_class(), called > from ddebug_change(), requires that FOO is known to module X, > otherwize the query is s

[PATCH v6 17/57] dyndbg: validate class FOO by checking with module

2022-09-04 Thread Jim Cromie
Add module-to-class validation: #> echo class DRM_UT_KMS +p > /proc/dynamic_debug/control If a query has "class FOO", then ddebug_find_valid_class(), called from ddebug_change(), requires that FOO is known to module X, otherwize the query is skipped entirely for X. This protects each module's