Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:20 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:proc_kprobes_optimization_handler
Proto:int proc_kprobes_optimization_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ctl_table * | table | |
| int | write | |
| void __user * | buffer | |
| size_t * | length | |
| loff_t * | ppos |
| 900 | mutex_lock( & kprobe_sysctl_mutex) |
| 901 | sysctl_kprobes_optimization = If NOTE: change this value only with kprobe_mutex held Then 1 Else 0 |
| 904 | If sysctl_kprobes_optimization Then optimize_all_kprobes() |
| 906 | Else unoptimize_all_kprobes() |
| 910 | Return ret |
| 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 |