From: Zwane Mwaikambo <zwane@linuxpower.ca>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Anton Blanchard <anton@samba.org>,
John Levon <levon@movementarian.org>,
Philippe Elie <phil.el@wanadoo.fr>
Subject: Re: [PATCH][1/3] Completely out of line spinlocks / generic
Date: Mon, 30 Aug 2004 01:02:26 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0408300057130.24992@montezuma.fsmlabs.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0408292359320.24992@montezuma.fsmlabs.com>
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_*
next prev parent reply other threads:[~2004-08-30 4:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 4:43 Zwane Mwaikambo
2004-08-30 5:02 ` Zwane Mwaikambo [this message]
2004-09-01 1:26 ` Anton Blanchard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0408300057130.24992@montezuma.fsmlabs.com \
--to=zwane@linuxpower.ca \
--cc=anton@samba.org \
--cc=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phil.el@wanadoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®