Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:29 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kretprobe_hash_lock
Proto:void kretprobe_hash_lock(struct task_struct *tsk, struct hlist_head **head, unsigned long *flags)__acquires(hlist_lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| struct hlist_head ** | head | |
| unsigned long * | flags |
| 1200 | hash = hash_ptr(tsk, KPROBE_HASH_BITS) |
| 1203 | head = kretprobe_inst_table[hash] |
| 1204 | hlist_lock = kretprobe_table_lock_ptr(hash) |
| 1205 | raw_spin_lock_irqsave(hlist_lock, * flags) |
| 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 |