Home
last modified time | relevance | path

Searched refs:stackid (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/bpf/
H A Dstackmap.c508 struct stackid { in get_callchain_entry_for_task()
518 static int stackid_init(struct stackid *stackid, struct bpf_map *map,
532 stackid->nr = trace_nr - skip; in stackid_init()
533 stackid->len = stackid->nr * sizeof(u64); in stackid_init()
534 stackid->ips = trace->ip + skip; in stackid_init()
535 stackid->hash = jhash2((const u32 *)stackid->ips, stackid in stackid_init()
513 struct stackid { global() struct
523 stackid_init(struct stackid * stackid,struct bpf_map * map,const struct perf_callchain_entry * trace,u32 trace_nr,u64 flags) stackid_init() argument
545 stackid_fastpath(struct stackid * stackid,struct bpf_map * map,const struct perf_callchain_entry * trace,u32 trace_nr,u64 flags) stackid_fastpath() argument
570 stackid_new_bucket(struct stackid * stackid,struct bpf_map * map) stackid_new_bucket() argument
594 stackid_install(struct stackid * stackid,struct bpf_map * map,struct stack_map_bucket * new_bucket,u64 flags) stackid_install() argument
632 struct stackid stackid; BPF_CALL_3() local
689 struct stackid stackid; BPF_CALL_3() local
[all...]
/linux/samples/bpf/
H A Dtrace_event_user.c104 __u32 stackid = 0, next_id; in print_stacks() local
121 while (bpf_map_get_next_key(stack_map, &stackid, &next_id) == 0) { in print_stacks()
123 stackid = next_id; in print_stacks()