[PATCH] OProfile: Use profile_pc in oprofile_add_sample

2005-01-28 Thread Zwane Mwaikambo
We should be using profile_pc in oprofile_add_sample so that lock contention is attibuted to the correct function in profile output. Also fix SH7750 support. Signed-off-by: Zwane Mwaikambo <[EMAIL PROTECTED]> = drivers/oprofile/cpu_buffer.c 1.17 vs edited = ---

[PATCH] OProfile: Use profile_pc in oprofile_add_sample

2005-01-28 Thread Zwane Mwaikambo
We should be using profile_pc in oprofile_add_sample so that lock contention is attibuted to the correct function in profile output. Also fix SH7750 support. Signed-off-by: Zwane Mwaikambo [EMAIL PROTECTED] = drivers/oprofile/cpu_buffer.c 1.17 vs edited = ---