Function report |
Source Code:kernel\events\callchain.c |
Create Date:2022-07-28 13:43:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_callchain_buffers
Proto:int get_callchain_buffers(int event_max_stack)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | event_max_stack |
110 | err = 0 |
113 | mutex_lock( & callchain_mutex) |
115 | count = atomic_inc_return( & nr_callchain_events) |
116 | If WARN_ON_ONCE(count < 1) Then |
128 | If event_max_stack > sysctl_perf_event_max_stack Then |
133 | If count == 1 Then err = alloc_callchain_buffers() |
135 | exit : |
136 | If err Then atomic_dec( & nr_callchain_events) |
141 | Return err |
Name | Describe |
---|---|
stack_map_alloc | Called from syscall |
perf_event_alloc | Allocate and initialize an event structure |
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 |