Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/os/
H A Dkcpc.c233 if (cp->cpu_cpc_ctx != NULL && !CU_CPC_ON(cp)) { in kcpc_bind_cpu()
524 ASSERT(cp != NULL && cp->cpu_cpc_ctx == ctx); in kcpc_stop_hw()
968 ctx = curthread->t_cpu->cpu_cpc_ctx; in kcpc_overflow_intr()
1047 return (curthread->t_cpu->cpu_cpc_ctx); in kcpc_overflow_intr()
1093 ctx = curthread->t_cpu->cpu_cpc_ctx; in kcpc_hw_overflow_intr()
1346 if ((cp->cpu_cpc_ctx == NULL) || in kcpc_idle_save()
1347 (cp->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID)) { in kcpc_idle_save()
1352 pcbe_ops->pcbe_program(cp->cpu_cpc_ctx); in kcpc_idle_save()
1372 if ((cp->cpu_cpc_ctx == NULL) || in kcpc_idle_restore()
1373 (cp->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID)) { in kcpc_idle_restore()
[all …]
H A Dcap_util.c655 if ((CPU->cpu_cpc_ctx != NULL) && in cu_cpc_program()
656 !(CPU->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID_STOPPED)) { in cu_cpc_program()
713 cp->cpu_cpc_ctx = ctx; in cu_cpc_program()
755 if (CPU->cpu_cpc_ctx != NULL && in cu_cpc_program_xcall()
756 !(CPU->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID_STOPPED)) { in cu_cpc_program_xcall()
840 ASSERT(cp->cpu_cpc_ctx == ctx); in cu_cpc_unprogram()
841 if (cp->cpu_cpc_ctx != ctx) { in cu_cpc_unprogram()
858 cp->cpu_cpc_ctx = NULL; in cu_cpc_unprogram()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddcpc.c389 if (pp->dcpc_enabled && (c->cpu_cpc_ctx != NULL)) { in dcpc_populate_set()
390 oset = c->cpu_cpc_ctx->kc_set; in dcpc_populate_set()
496 octx = c->cpu_cpc_ctx; in dcpc_program_cpu_event()
539 ctx = c->cpu_cpc_ctx; in dcpc_disable_cpu()
685 if (c->cpu_cpc_ctx != NULL) in dcpc_program_event()
838 kcpc_cpu_program(c, c->cpu_cpc_ctx); in dcpc_enable()
/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h172 kcpc_ctx_t *cpu_cpc_ctx; /* performance counter context */ member