forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dyndbg: nouveau's got like levels man
nouveau debug has levels man, other users will too; so add support. With .class_id field already in struct _ddebug, its now easy to extend the "class_match" test; formerly just site == input. add enum class_map_type: with _DISJOINT, _VERBOSE, _PRIORITY. _DISJOINT: site == input. (maybe _CATEGORY?). for drm. _VERBOSE: site < input _PRIORITY: site > input in DYNAMIC_DEBUG_CLASSES, initialize it with _DISJOINT. add DYNAMIC_DEBUG_LEVELS, = _VERBOSE DYNAMIC_DEBUG_PRIORITIES = _PRIORITY test_dynamic_debug: add new csysfs nodes: ddt_prio, ddt_verbose, using DYNAMIC_DEBUG_PRIORITIES() and DYNAMIC_DEBUG_LEVELS() respectively. Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
- Loading branch information
Showing
3 changed files
with
86 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters