All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] [PATCH]  Support for alternative kernel profiler
Date: Thu, 10 Jan 2002 23:26:58 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805802@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805742@msgid-missing>

We don't currently have any way for different software packages
to share the performance counters, so it's very likely that there
would be interactions with Stephane's PMU code (e.g. I rewrite
cr.pmv to a new vector and re-write all of the pmc[] and pmd[]
registers for my own purposes ... this will upset Stephane's code,
similarly my code does not expect anyone else to touch any PMU
registers, or fiddle with psr.pp/dcr.pp).

It would probably be safest to turn off CONFIG_PERFMON in a kernel
that is going to load an alternate profiler ... my profiler seems
to cope ok provided nobody calls sys_perfmonctl().

-Tony

David Mosberger wrote:
> I'd like Stephane to take a look at this patch and see whether there
> are any potential bad interactions with the PMU code he is working on
> (due to the manipulation of the psr.pp bit).  Other than that, the
> patch looks good to me.


  parent reply	other threads:[~2002-01-10 23:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-05  1:03 [Linux-ia64] [PATCH] Support for alternative kernel profiler in a module Luck, Tony
2002-01-09 21:37 ` [Linux-ia64] [PATCH] Support for alternative kernel profiler Luck, Tony
2002-01-10 19:25 ` David Mosberger
2002-01-10 19:27 ` David Mosberger
2002-01-10 23:26 ` Luck, Tony [this message]
2002-01-10 23:37 ` David Mosberger

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=marc-linux-ia64-105590698805802@msgid-missing \
    --to=tony.luck@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.