函数源码 |
Source File:kernel\trace\trace_events.c |
Create Date:2022-07-27 13:26:01 |
首页 | Copyright©Brick |
675 676 677 678 679 680 681 682 683 684 | static void __put_system_dir( struct trace_subsystem_dir *dir) { WARN_ON_ONCE(dir->ref_count == 0); /* If the subsystem is about to be freed, the dir must be too */ WARN_ON_ONCE(system_refcount(dir->subsystem) == 1 && dir->ref_count != 1); __put_system(dir->subsystem); if (!--dir->ref_count) kfree(dir); } |