函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-27 12:38:46
Last Modify:2022-05-22 18:14:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Optimize (replace a breakpoint with a jump) kprobes listed on* optimizing_list.

函数原型:static void do_optimize_kprobes(void)

返回类型:void

参数:

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  如果NOTE: change this value only with kprobe_mutex held 或非NOTE: change this value only with kprobe_mutex held 链表为空则返回
491  Replace breakpoints (int3) with relative jumps.* Caller must call with locking kprobe_mutex and text_mutex.
调用者
名称描述
kprobe_optimizer