Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/intel/pcbe/
H A Dopteron_pcbe.c828 uint64_t evsel = 0, evsel_tmp = 0; in opt_pcbe_configure() local
874 evsel &= ~OPT_PES_HOST; in opt_pcbe_configure()
875 evsel &= ~OPT_PES_GUEST; in opt_pcbe_configure()
881 evsel |= evp->emask & 0x00ff; in opt_pcbe_configure()
885 evsel |= OPT_PES_USR; in opt_pcbe_configure()
887 evsel |= OPT_PES_OS; in opt_pcbe_configure()
889 evsel |= OPT_PES_INT; in opt_pcbe_configure()
894 evsel |= OPT_PES_EDGE; in opt_pcbe_configure()
897 evsel |= OPT_PES_PC; in opt_pcbe_configure()
900 evsel |= OPT_PES_INV; in opt_pcbe_configure()
[all …]
/illumos-gate/usr/src/lib/libcpc/i386/
H A Devent_pentium.c537 uint8_t cmask, umask, evsel; member
553 xpes->evsel = (uint8_t)pes; in unmake_pes()
557 uint8_t evsel[2]; member
565 xcesr->evsel[0] = (cesr >> CPC_P5_CESR_ES0_SHIFT) & in unmake_cesr()
567 xcesr->evsel[1] = (cesr >> CPC_P5_CESR_ES1_SHIFT) & in unmake_cesr()
600 if ((pic[0] = regtostr(cpuver, 0, xpes[0].evsel)) == NULL) in cpc_eventtostr()
604 if ((pic[1] = regtostr(cpuver, 1, xpes[1].evsel)) == NULL) { in cpc_eventtostr()
636 if ((pic[0] = regtostr(cpuver, 0, xcesr.evsel[0])) == NULL) in cpc_eventtostr()
638 if ((pic[1] = regtostr(cpuver, 1, xcesr.evsel[1])) == NULL) { in cpc_eventtostr()
721 xpes[i].evsel)) == NULL) { in __cpc_eventtoset()
[all …]
/illumos-gate/usr/src/uts/sun4v/pcbe/
H A Dniagara2_pcbe.c489 uint32_t evsel; in ni2_pcbe_configure() local
520 evsel = evp->emask; in ni2_pcbe_configure()
530 evsel |= attrs[i].ka_val; in ni2_pcbe_configure()
553 if ((evsel & SL_MASK) == SL3_MASK) { in ni2_pcbe_configure()
600 cfg->pcbe_evsel = evsel; in ni2_pcbe_configure()