Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:35:06
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Wait for completing optimization and unoptimization

Proto:void wait_for_kprobe_optimizer(void)

Type:void

Parameter:Nothing

599  mutex_lock( & This protects kprobe_table and optimizing_list )
601  When Not list_empty - tests whether a list is empty*@head: the list to test. || Not list_empty - tests whether a list is empty*@head: the list to test. cycle
602  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
605  lush_delayed_work - wait for a dwork to finish executing the last queueing*@dwork: the delayed work to flush* Delayed timer is cancelled and the pending work is queued for* immediate execution. Like flush_work(), this function only
607  cpu_relax()
609  mutex_lock( & This protects kprobe_table and optimizing_list )
612  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
unoptimize_all_kprobes