Lines Matching refs:th_pmcs
313 unsigned long th_pmcs[PFM_NUM_PMC_REGS]; /* PMC thread save state */ member
979 ia64_set_pmc(i, ctx->th_pmcs[i] & ~0xfUL); in pfm_mask_monitoring()
980 ctx->th_pmcs[i] &= ~0xfUL; in pfm_mask_monitoring()
981 DPRINT_ovfl(("pmc[%d]=0x%lx\n", i, ctx->th_pmcs[i])); in pfm_mask_monitoring()
1063 ctx->th_pmcs[i] = ctx->ctx_pmcs[i]; in pfm_restore_monitoring()
1064 ia64_set_pmc(i, ctx->th_pmcs[i]); in pfm_restore_monitoring()
1066 task_pid_nr(task), i, ctx->th_pmcs[i])); in pfm_restore_monitoring()
1168 ctx->th_pmcs[i] = ctx->ctx_pmcs[i]; in pfm_copy_pmcs()
1169 DPRINT(("pmc[%d]=0x%lx\n", i, ctx->th_pmcs[i])); in pfm_copy_pmcs()
3027 if (is_system == 0) ctx->th_pmcs[cnum] = value; in pfm_write_pmcs()
4329 pmcs_source = ctx->th_pmcs; in pfm_context_load()
5913 ctx->th_pmcs[0] = ia64_get_pmc(0); in pfm_save_regs()
5918 if (ctx->th_pmcs[0] & ~0x1UL) pfm_unfreeze_pmu(); in pfm_save_regs()
6001 ctx->th_pmcs[0] = ia64_get_pmc(0); in pfm_lazy_save_regs()
6006 if (ctx->th_pmcs[0] & ~0x1UL) pfm_unfreeze_pmu(); in pfm_lazy_save_regs()
6121 if (pmc_mask) pfm_restore_pmcs(ctx->th_pmcs, pmc_mask); in pfm_load_regs()
6127 if (unlikely(PMC0_HAS_OVFL(ctx->th_pmcs[0]))) { in pfm_load_regs()
6132 ia64_set_pmc(0, ctx->th_pmcs[0]); in pfm_load_regs()
6134 ctx->th_pmcs[0] = 0UL; in pfm_load_regs()
6258 pfm_restore_pmcs(ctx->th_pmcs, pmc_mask); in pfm_load_regs()
6264 if (unlikely(PMC0_HAS_OVFL(ctx->th_pmcs[0]))) { in pfm_load_regs()
6269 ia64_set_pmc(0, ctx->th_pmcs[0]); in pfm_load_regs()
6272 ctx->th_pmcs[0] = 0UL; in pfm_load_regs()
6347 pmc0 = ctx->th_pmcs[0]; in pfm_flush_pmds()
6351 ctx->th_pmcs[0] = 0; in pfm_flush_pmds()
6765 …("->CPU%d pmc[%d]=0x%lx thread_pmc[%d]=0x%lx\n", this_cpu, i, ia64_get_pmc(i), i, ctx->th_pmcs[i]); in dump_pmu_state()