Lines Matching refs:cpu
80 #define PROFILE_VARS(cpu) (&_profile_vars)
97 int cpu;
133 DECODE_KGMON(indx, kgmon, cpu);
136 printf("_profile_kgmon: start: kgmon control = %2d, cpu = %d, count = %ld\n",
137 kgmon, cpu, (long)count);
141 if (cpu < 0 || cpu >= max_cpus) {
143 printf("KGMON, bad cpu %d\n", cpu);
149 pv = PROFILE_VARS(cpu);
162 if (cpu != 0) {
164 printf("KGMON_GET_STATUS: cpu = %d\n", cpu);
186 if (cpu != 0) {
188 printf("KGMON_GET_DEBUG: cpu = %d\n", cpu);
253 if (cpu != 0) {
255 printf("KGMON_SET_PROFILE_ON, cpu = %d\n", cpu);
278 if (cpu != 0) {
280 printf("KGMON_SET_PROFILE_OFF, cpu = %d\n", cpu);
303 if (cpu != 0) {
305 printf("KGMON_SET_PROFILE_RESET, cpu = %d\n", cpu);
324 if (cpu != 0) {
326 printf("KGMON_SET_DEBUG_ON, cpu = %d\n", cpu);
347 if (cpu != 0) {
349 printf("KGMON_SET_DEBUG_OFF, cpu = %d\n", cpu);
374 printf("_profile_kgmon: done: kgmon control = %2d, cpu = %d, error = %d\n",
375 kgmon, cpu, error);
382 printf("_profile_kgmon: done: kgmon control = %2d, cpu = %d, count = %ld\n",
383 kgmon, cpu, (long)count);