函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\preemptirq_delay_test.c Create Date:2022-07-27 13:14:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:preemptirq_delay_init

函数原型:static int __init preemptirq_delay_init(void)

返回类型:int

参数:

154  test_task等于preemptirq_start_test()
155  retval等于PTR_ERR_OR_ZERO(test_task)
156  如果retval不等于0则返回:retval
159  preemptirq_delay_kobj等于kobject_create_and_add() - Create a struct kobject dynamically and* register it with sysfs.*@name: the name for the kobject*@parent: the parent kobject of this kobject, if any.* This function creates a kobject structure dynamically and registers it
161  如果非preemptirq_delay_kobj则返回:负ENOMEM
164  retval等于sysfs_create_group(preemptirq_delay_kobj, & attr_group)
165  如果retval递减引用计数对象
168  返回:retval