Lines Matching refs:cpuid
74 processorid_t cpuid; member
108 static int get_chipid(kstat_ctl_t *kc, processorid_t cpuid);
315 print_sample(processorid_t cpuid, cpc_buf_t *buf, int nreq, const char *setname, in print_sample() argument
329 mstimestamp(hrtime), (int)cpuid, "tick"); in print_sample()
351 int designee = chip_designees[gstate[cpuid].chip_id]; in print_sample()
378 if ((i != cpuid) && (gstate[i].cpuid != -1) && in print_sample()
379 (chip_designees[gstate[i].chip_id] == cpuid)) in print_sample()
433 if (smt && chip_designees[state->chip_id] != state->cpuid) in gtick()
464 if (cpc_bind_cpu(cpc, state->cpuid, this, 0) == -1) in gtick()
500 print_sample(state->cpuid, *scratch, nreqs, name, 0); in gtick()
522 opts->pgmname, state->cpuid, in gtick()
527 print_sample(state->cpuid, *scratch, nreqs, name, 0); in gtick()
577 if (cpc_bind_cpu(cpc, state->cpuid, this, 0) != 0) in gtick()
585 state->cpuid, strerror(errno)); in gtick()
602 opts->pgmname, state->cpuid, errstr); in gtick()
667 gstate[i++].cpuid = c; in cpustat()
673 gstate[i++].cpuid = -1; in cpustat()
676 gstate[i++].cpuid = -1; in cpustat()
698 if (this->cpuid == -1) in cpustat()
702 this->cpuid, &cpupset) == -1) { in cpustat()
711 this->cpuid = -1; in cpustat()
722 if (this->cpuid == -1) in cpustat()
726 this->cpuid = -1; in cpustat()
735 opts->pgmname, this->cpuid); in cpustat()
754 if (this->cpuid == -1) in cpustat()
778 get_chipid(kstat_ctl_t *kc, processorid_t cpuid) in get_chipid() argument
783 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) in get_chipid()
789 opts->pgmname, cpuid, strerror(errno)); in get_chipid()
796 opts->pgmname, cpuid, strerror(errno)); in get_chipid()
810 if (processor_bind(P_LWPID, P_MYID, state->cpuid, NULL) != 0) in soaker()
812 "thread to cpu%d: %s\n"), opts->pgmname, state->cpuid, in soaker()