Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Unoptimize (replace a jump with a breakpoint and remove the breakpoint* if need) kprobes listed on unoptimizing_list.

Proto:static void do_unoptimize_kprobes(void)

Type:void

Parameter:Nothing

502  lockdep_assert_held( & mutex protecting text section modification (dynamic code patching).* some users need to sleep (allocating memory...) while they hold this lock.* Note: Also protects SMP-alternatives modification on x86.)
504  lockdep_assert_cpus_held()
507  If list_empty - tests whether a list is empty*@head: the list to test. Then Return
510  Recover original instructions and breakpoints from relative jumps.* Caller must call with locking kprobe_mutex.
514  * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. &= ~probe is really optimized.* NOTE:* this flag is only for optimized_kprobe.
516  If Is this kprobe disabled ? Then arch_disarm_kprobe( & kp)
518  If Return true(!0) if the kprobe is unused Then
524  hlist_del_rcu - deletes entry from hash list without re-initialization*@n: the element to delete from the hash list.* Note: list_unhashed() on entry does not return true after this,* the entry is in an undefined state. It is useful for RCU based
525  Else list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
Caller
NameDescribe
kprobe_optimizer