Function report |
Source Code:kernel\bpf\stackmap.c |
Create Date:2022-07-28 13:26:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called from syscall
Proto:int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_map * | map | |
void * | key | |
void * | value |
526 | If Value for the false possibility is greater at compile time(id >= n_buckets) Then Return -ENOENT |
533 | trace_len = nr * stack_map_data_size(map) |
534 | No 3D Now!(value, data, trace_len) |
535 | memset(value + trace_len, 0, value_size - trace_len) |
537 | old_bucket = xchg( & buckets[id], bucket) |
538 | If old_bucket Then pcpu_freelist_push( & freelist, & fnode) |
540 | Return 0 |
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 |