Lines Matching refs:pc
236 unsigned long pc, unsigned long event) in op_add_sample() argument
245 sample->eip = pc; in op_add_sample()
260 log_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc, in log_sample() argument
267 if (pc == ESCAPE_CODE) { in log_sample()
275 if (op_add_sample(cpu_buf, pc, event)) in log_sample()
296 __oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, in __oprofile_add_ext_sample() argument
307 if (!log_sample(cpu_buf, pc, backtrace, is_kernel, event, task)) in __oprofile_add_ext_sample()
319 void oprofile_add_ext_hw_sample(unsigned long pc, struct pt_regs * const regs, in oprofile_add_ext_hw_sample() argument
323 __oprofile_add_ext_sample(pc, regs, event, is_kernel, task); in oprofile_add_ext_hw_sample()
326 void oprofile_add_ext_sample(unsigned long pc, struct pt_regs * const regs, in oprofile_add_ext_sample() argument
329 __oprofile_add_ext_sample(pc, regs, event, is_kernel, NULL); in oprofile_add_ext_sample()
335 unsigned long pc; in oprofile_add_sample() local
339 pc = profile_pc(regs); in oprofile_add_sample()
342 pc = ESCAPE_CODE; /* as this causes an early return. */ in oprofile_add_sample()
345 __oprofile_add_ext_sample(pc, regs, event, is_kernel, NULL); in oprofile_add_sample()
356 unsigned long pc, int code, int size) in oprofile_write_reserve() argument
375 op_cpu_buffer_add_data(entry, pc); in oprofile_write_reserve()
413 void oprofile_add_pc(unsigned long pc, int is_kernel, unsigned long event) in oprofile_add_pc() argument
416 log_sample(cpu_buf, pc, 0, is_kernel, event, NULL); in oprofile_add_pc()
419 void oprofile_add_trace(unsigned long pc) in oprofile_add_trace() argument
430 if (pc == ESCAPE_CODE) in oprofile_add_trace()
433 if (op_add_sample(cpu_buf, pc, 0)) in oprofile_add_trace()