Home
last modified time | relevance | path

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

/samples/bpf/
Doffwaketime_kern.c64 struct wokeby_t woke; in waker() local
69 bpf_get_current_comm(&woke.name, sizeof(woke.name)); in waker()
70 woke.ret = bpf_get_stackid(ctx, &stackmap, STACKID_FLAGS); in waker()
72 bpf_map_update_elem(&wokeby, &pid, &woke, BPF_ANY); in waker()
78 struct wokeby_t *woke; in update_counts() local
87 woke = bpf_map_lookup_elem(&wokeby, &pid); in update_counts()
88 if (woke) { in update_counts()
89 key.wret = woke->ret; in update_counts()
90 __builtin_memcpy(&key.waker, woke->name, sizeof(key.waker)); in update_counts()