| Function report | 
| Source Code: kernel\bpf\stackmap.c | Create Date:2022-07-28 13:26:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:stack_map_get_build_id_offset
Proto:static void stack_map_get_build_id_offset(struct bpf_stack_build_id *id_offs, u64 *ips, u32 trace_nr, bool user)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_stack_build_id * | id_offs | |
| u64 * | ips | |
| u32 | trace_nr | |
| bool | user | 
| 287 | bool irq_work_busy = false | 
| 288 | struct stack_map_irq_work * work = NULL | 
| 291 | work = this_cpu_ptr( & up_read_work) | 
| 292 | If atomic_read( & flags) & IRQ_WORK_BUSY Then irq_work_busy = true | 
| 307 | If Not user || Not current process || Not mm || irq_work_busy || rylock for reading -- returns 1 if successful, 0 if contention == 0 Then | 
| 315 | Return | 
| 320 | If Not vma || Parse build ID of ELF file mapped to vma Then | 
| 332 | If Not work Then | 
| 334 | Else | 
| 342 | rwsem_release( & dep_map, _RET_IP_) | 
| Name | Describe | 
|---|---|
| ____bpf_get_stackid | |
| ____bpf_get_stack | 
| 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 |