Lines Matching refs:cpuid

78 	processorid_t	cpuid;  member
112 static int get_chipid(kstat_ctl_t *kc, processorid_t cpuid);
334 print_sample(processorid_t cpuid, cpc_buf_t *buf, int nreq, const char *setname, in print_sample() argument
348 mstimestamp(hrtime), (int)cpuid, "tick"); in print_sample()
370 int designee = chip_designees[gstate[cpuid].chip_id]; in print_sample()
397 if ((i != cpuid) && (gstate[i].cpuid != -1) && in print_sample()
398 (chip_designees[gstate[i].chip_id] == cpuid)) in print_sample()
452 if (smt && chip_designees[state->chip_id] != state->cpuid) in gtick()
483 if (cpc_bind_cpu(cpc, state->cpuid, this, 0) == -1) in gtick()
519 print_sample(state->cpuid, *scratch, nreqs, name, 0); in gtick()
541 opts->pgmname, state->cpuid, in gtick()
546 print_sample(state->cpuid, *scratch, nreqs, name, 0); in gtick()
596 if (cpc_bind_cpu(cpc, state->cpuid, this, 0) != 0) in gtick()
604 state->cpuid, strerror(errno)); in gtick()
621 opts->pgmname, state->cpuid, errstr); in gtick()
686 gstate[i++].cpuid = c; in cpustat()
693 gstate[i++].cpuid = -1; in cpustat()
696 gstate[i++].cpuid = -1; in cpustat()
718 if (this->cpuid == -1) in cpustat()
722 this->cpuid, &cpupset) == -1) { in cpustat()
731 this->cpuid = -1; in cpustat()
742 if (this->cpuid == -1) in cpustat()
746 this->cpuid = -1; in cpustat()
755 opts->pgmname, this->cpuid); in cpustat()
774 if (this->cpuid == -1) in cpustat()
798 get_chipid(kstat_ctl_t *kc, processorid_t cpuid) in get_chipid() argument
803 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) in get_chipid()
809 opts->pgmname, cpuid, strerror(errno)); in get_chipid()
816 opts->pgmname, cpuid, strerror(errno)); in get_chipid()
830 if (processor_bind(P_LWPID, P_MYID, state->cpuid, NULL) != 0) in soaker()
832 "thread to cpu%d: %s\n"), opts->pgmname, state->cpuid, in soaker()