aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-02-08 12:13:10 +0100
committerGreg Kroah-Hartman <[email protected]>2023-02-09 10:42:57 +0100
commit789be03a600842ef461968cc5a2d458f51f319b2 (patch)
tree931ba69e3827398471652589432ab138a0f0584e /scripts/gdb/linux/tasks.py
parentfb42378dcc7f247df56f0ecddfdae85487495fbc (diff)
driver core: add local subsys_get and subsys_put functions
We need to control the reference count of the subsys private structure instead of directly manipulating the kset reference count of it, so wrap that logic up in a subsys_get() and subsys_put() function to make it more obvious as to what is happening. Cc: "Rafael J. Wysocki" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions