Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:34:48 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:collect_garbage_slots
Proto:static int collect_garbage_slots(struct kprobe_insn_cache *c)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe_insn_cache * | c |
223 | If ngarbage == 0 Then Continue |
225 | ngarbage = 0 |
226 | When i < slots_per_page(c) cycle |
227 | If slot_used[i] == SLOT_DIRTY && Return 1 if all garbages are collected, otherwise 0. Then Break |
231 | nr_garbage = 0 |
232 | Return 0 |
Name | Describe |
---|---|
__get_insn_slot | __get_insn_slot() - Find a slot on an executable page for an instruction.* We allocate an executable page if there's no room on existing ones. |
__free_insn_slot |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |