Lines Matching full:samples
20 static u32 *samples; variable
96 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
98 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
148 * the samples. In the very unlikely case that the processing in profile_spus()
150 * started to process the samples. Make sure only one kernel in profile_spus()
151 * thread is working on the samples array at a time. The in profile_spus()
168 samples + (k * TRACE_ARRAY_SIZE), in profile_spus()
208 /* Allocate arrays for collecting SPU PC samples */ in start_spu_profiling_cycles()
209 samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), in start_spu_profiling_cycles()
212 if (!samples) in start_spu_profiling_cycles()
241 kfree(samples); in stop_spu_profiling_cycles()