Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\profile.c Create Date:2022-07-28 10:37:32
Last Modify:2020-03-17 15:11:09 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:profile_event_unregister

Proto:int profile_event_unregister(enum profile_type type, struct notifier_block *n)

Type:int

Parameter:

TypeParameterName
enum profile_typetype
struct notifier_block *n
191  err = -EINVAL
194  Case type == PROFILE_TASK_EXIT
195  err = locking_notifier_chain_unregister - Remove notifier from a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from a blocking notifier chain.
197  Break
198  Case type == PROFILE_MUNMAP
199  err = locking_notifier_chain_unregister - Remove notifier from a blocking notifier chain*@nh: Pointer to head of the blocking notifier chain*@n: Entry to remove from notifier chain* Removes a notifier from a blocking notifier chain.
201  Break
204  Return err