Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Optimize (replace a breakpoint with a jump) kprobes listed on* optimizing_list.

Proto:static void do_optimize_kprobes(void)

Type:void

Parameter:Nothing

473  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.)
484  lockdep_assert_cpus_held()
487  If NOTE: change this value only with kprobe_mutex held || Not NOTE: change this value only with kprobe_mutex held || list_empty - tests whether a list is empty*@head: the list to test. Then Return
491  Replace breakpoints (int3) with relative jumps.* Caller must call with locking kprobe_mutex and text_mutex.
Caller
NameDescribe
kprobe_optimizer