• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/oprofile/

Lines Matching defs:cpu_buf

48 	struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(op_cpu_buffer);
50 cpu_buf->sample_lost_overflow++;
178 op_add_code(struct oprofile_cpu_buffer *cpu_buf, unsigned long backtrace,
193 if (cpu_buf->last_is_kernel != is_kernel) {
194 cpu_buf->last_is_kernel = is_kernel;
201 if (cpu_buf->last_task != task) {
202 cpu_buf->last_task = task;
231 op_add_sample(struct oprofile_cpu_buffer *cpu_buf,
256 log_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc,
259 cpu_buf->sample_received++;
262 cpu_buf->sample_invalid_eip++;
266 if (op_add_code(cpu_buf, backtrace, is_kernel, current))
269 if (op_add_sample(cpu_buf, pc, event))
275 cpu_buf->sample_lost_overflow++;
279 static inline void oprofile_begin_trace(struct oprofile_cpu_buffer *cpu_buf)
281 cpu_buf->tracing = 1;
284 static inline void oprofile_end_trace(struct oprofile_cpu_buffer *cpu_buf)
286 cpu_buf->tracing = 0;
293 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(op_cpu_buffer);
300 if (!log_sample(cpu_buf, pc, backtrace, is_kernel, event))
307 oprofile_begin_trace(cpu_buf);
309 oprofile_end_trace(cpu_buf);
346 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(op_cpu_buffer);
348 cpu_buf->sample_received++;
351 if (op_add_code(cpu_buf, 0, is_kernel, current))
367 cpu_buf->sample_lost_overflow++;
401 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(op_cpu_buffer);
402 log_sample(cpu_buf, pc, 0, is_kernel, event);
407 struct oprofile_cpu_buffer *cpu_buf = &__get_cpu_var(op_cpu_buffer);
409 if (!cpu_buf->tracing)
419 if (op_add_sample(cpu_buf, pc, 0))
424 cpu_buf->tracing = 0;
425 cpu_buf->backtrace_aborted++;