Function report |
Source Code:kernel\trace\trace_stack.c |
Create Date:2022-07-28 12:11:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stack_trace_sysctl
Proto:int stack_trace_sysctl(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct ctl_table * | table | |
int | write | |
void __user * | buffer | |
size_t * | lenp | |
loff_t * | ppos |
525 | mutex_lock( & stack_sysctl_mutex) |
526 | was_enabled = Not Not stack_tracer_enabled |
528 | ret = read a vector of integers |
530 | If ret || Not write || was_enabled == Not Not stack_tracer_enabled Then Go to out |
533 | If stack_tracer_enabled Then gister_ftrace_function - register a function for profiling*@ops - ops structure that holds the function for profiling |
537 | out : |
539 | 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 |