Home
last modified time | relevance | path

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

/linux-6.12.1/samples/bpf/
Dtrace_event_kern.c16 u32 kernstack; member
54 key.kernstack = bpf_get_stackid(ctx, &stackmap, KERN_STACKID_FLAGS); in bpf_prog1()
56 if ((int)key.kernstack < 0 && (int)key.userstack < 0) { in bpf_prog1()
Dtrace_event_user.c57 __u32 kernstack; member
68 if (bpf_map_lookup_elem(map_fd[1], &key->kernstack, ip) != 0) { in print_stack()
86 if (key->kernstack == -EEXIST && !warned) { in print_stack()
89 } else if ((int)key->kernstack < 0 && (int)key->userstack < 0) { in print_stack()
90 printf("err stackid %d %d\n", key->kernstack, key->userstack); in print_stack()