Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:40 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is the second or subsequent kprobe at the address - handle* the intricacies
Proto:static int register_aggr_kprobe(struct kprobe *orig_p, struct kprobe *p)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe * | orig_p | |
struct kprobe * | p |
1347 | ret = 0 |
1350 | cpus_read_lock() |
1353 | jump_label_lock() |
1356 | If Not Return true if the kprobe is an aggregator Then |
1359 | If Not ap Then |
1363 | init_aggr_kprobe(ap, orig_p) |
1364 | Else if Return true(!0) if the kprobe is unused Then |
1371 | If Has this kprobe gone ? Then |
1378 | ret = arch_prepare_kprobe(ap) |
1400 | ret = Add the new probe to ap->list |
1402 | out : |
1404 | jump_label_unlock() |
1405 | cpus_read_unlock() |
1407 | If ret == 0 && Is this kprobe disabled ? && Not Is this kprobe disabled ? Then |
1408 | * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. &= ~probe is temporarily disabled |
1409 | If Not NOTE: change this value only with kprobe_mutex held Then |
1419 | Return ret |
Name | Describe |
---|---|
register_kprobe |
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 |