Lines Matching refs:pcpu_blk_info
124 cpu_buf->pcpu_blk_info.size = size;
125 cpu_buf->pcpu_blk_info.max_samples = ((size - sizeof(cvmx_cpu_event_block_t)) / sizeof(cvmx_sample_entry_t));
126 cpu_buf->pcpu_blk_info.sample_count = 0;
127 cpu_buf->pcpu_blk_info.sample_read = 0;
128 cpu_buf->pcpu_blk_info.data = eccb.cfg_blk.pcpu_base_addr[cpu] + sizeof(cvmx_cpu_event_block_t) + PADBYTES;
129 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.tail = \
130 cpu_buf->pcpu_data = cpu_buf->pcpu_blk_info.data;
131 cpu_buf->pcpu_blk_info.end = eccb.cfg_blk.pcpu_base_addr[cpu] + size;
183 if (cvmx_unlikely(!cpu_buf->pcpu_blk_info.head && !cpu_buf->pcpu_blk_info.end)) {
191 if (cpu_buf->pcpu_blk_info.head == cpu_buf->pcpu_blk_info.end)
192 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.data = cpu_buf->pcpu_data;
195 cvmx_sample_entry_t *sample = (cvmx_sample_entry_t *) cpu_buf->pcpu_blk_info.data;
200 cpu_buf->pcpu_blk_info.sample_count++;
201 cpu_buf->pcpu_blk_info.data += sizeof(cvmx_sample_entry_t);
202 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.data;
207 PRINTF("the core%d:pc 0x%016lx, sample_count=%ld\n", cpu, sample->pc, cpu_buf->pcpu_blk_info.sample_count);