Messages in this thread | | | Date | Mon, 30 Aug 2004 01:02:26 -0400 (EDT) | From | Zwane Mwaikambo <> | Subject | Re: [PATCH][1/3] Completely out of line spinlocks / generic |
| |
On Mon, 30 Aug 2004, Zwane Mwaikambo wrote:
> Index: linux-2.6.9-rc1-mm1/drivers/oprofile/timer_int.c > =================================================================== > RCS file: /home/cvsroot/linux-2.6.9-rc1-mm1/drivers/oprofile/timer_int.c,v > retrieving revision 1.1.1.1 > diff -u -p -B -r1.1.1.1 timer_int.c > --- linux-2.6.9-rc1-mm1/drivers/oprofile/timer_int.c 26 Aug 2004 13:13:41 -0000 1.1.1.1 > +++ linux-2.6.9-rc1-mm1/drivers/oprofile/timer_int.c 28 Aug 2004 20:00:47 -0000 > @@ -19,7 +19,7 @@ static int timer_notify(struct notifier_ > { > struct pt_regs * regs = (struct pt_regs *)data; > int cpu = smp_processor_id(); > - unsigned long eip = instruction_pointer(regs); > + unsigned long eip = profile_pc(regs); > > oprofile_add_sample(eip, !user_mode(regs), 0, cpu); > return 0;
Looking at the PPC oprofile code, how does contention get reported? get_pc() looks like it may be returning _raw_spin_* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |