Home | History | Annotate | Download | only in module

Lines Matching refs:cpu_nr

153 	uint cpu_nr;
154 for (cpu_nr = 0 ; cpu_nr < smp_num_cpus; cpu_nr++) {
155 if (oprof_ready[cpu_nr]) {
156 cpu_buffer_waiting = cpu_nr;
257 static int check_buffer_amount(int cpu_nr)
259 struct _oprof_data * data = &oprof_data[cpu_nr];
262 if (num < size - data->buf_watermark && oprof_ready[cpu_nr] != 2) {
274 static int copy_buffer(char * buf, int cpu_nr)
279 stop_cpu_perfctr(cpu_nr);
281 head.cpu_nr = cpu_nr;
282 head.count = check_buffer_amount(cpu_nr);
285 oprof_ready[cpu_nr] = 0;
293 oprof_data[cpu_nr].buffer, size))
301 start_cpu_perfctr(cpu_nr);