函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\profile.c Create Date:2022-07-27 11:37:19
Last Modify:2020-03-17 15:11:09 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:profile_event_register

函数原型:int profile_event_register(enum profile_type type, struct notifier_block *n)

返回类型:int

参数:

类型参数名称
enum profile_typetype
struct notifier_block *n
172  err等于负EINVAL
175  :type恒等于PROFILE_TASK_EXIT
176  err等于locking_notifier_chain_register - Add notifier to a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: New entry in notifier chain* Adds a notifier to a blocking notifier chain.* Must be called in process context.
178  退出
179  :type恒等于PROFILE_MUNMAP
180  err等于locking_notifier_chain_register - Add notifier to a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: New entry in notifier chain* Adds a notifier to a blocking notifier chain.* Must be called in process context.
182  退出
185  返回:err