Home
last modified time | relevance | path

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

/samples/bpf/
Dcpustat_kern.c106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local
131 pstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1()
132 if (!pstate) in bpf_prog1()
171 pstate_idx = find_cpu_pstate_idx(*pstate); in bpf_prog1()
214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog2() local
226 pstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog2()
227 if (!pstate) in bpf_prog2()
235 prev_state = *pstate; in bpf_prog2()
236 *pstate = ctx->state; in bpf_prog2()
268 pstate_idx = find_cpu_pstate_idx(*pstate); in bpf_prog2()
Dcpustat_user.c35 unsigned long pstate[MAX_PSTATE_ENTRIES]; member
73 printf("%-11ld ", data->pstate[i] / 1000000); in cpu_stat_print()
94 stat_data[c].pstate[i] = value; in cpu_stat_update()
/samples/kprobes/
Dkprobe_example.c45 p->symbol_name, p->addr, (long)regs->pc, (long)regs->pstate); in handler_pre()
74 p->symbol_name, p->addr, (long)regs->pstate); in handler_post()