public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John Levon <movement@marcelothewonderpenguin.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Steven N. Hirsch" <shirsch@adelphia.net>, linux-kernel@vger.kernel.org
Subject: Re: Two fixes for 2.4.19-pre5-ac3
Date: Sun, 7 Apr 2002 20:32:46 +0100	[thread overview]
Message-ID: <20020407193245.GA21570@compsoc.man.ac.uk> (raw)
In-Reply-To: <20020407192324.GA21491@compsoc.man.ac.uk> <E16uIYq-0006Xf-00@the-village.bc.nu>

On Sun, Apr 07, 2002 at 08:42:48PM +0100, Alan Cox wrote:

> > I'll genuinely take on board advice on how I can profile all the system
> > via x86 perf counters efficiently without having to patch the kernel.
> > The old way just uses sys_call_table. So what do I do now ?
> 
> The obvious thing is to represent it as a device. I'm not familiar enough
> with the existing perfctr work to know how well that works out.

The system call tracking is only used to associate a particular EIP with
a particular offset in some binary image. There's no other efficient
method to capture the mmap() calls for these images, for everything
running. ptrace() is only really useful for a small number of processes,
and is slow. Offline post-analysis isn't possible. There is no
API for getting access to this information.

Removing sys_call_table from exports won't have any positive effect.
Using it has always been "well, you're on your own" - if there is a
really good reason it needs to be changed, fine; but just changing it
because it's not supposed to be used isn't a good enough reason when
there is actually a couple of niche cases where it's the only option.

imho,
john

-- 
"I never understood what's so hard about picking a unique
 first and last name - and not going beyond the 6 character limit."
 	- Toon Moene

  reply	other threads:[~2002-04-07 19:32 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-07 16:43 Two fixes for 2.4.19-pre5-ac3 Steven N. Hirsch
2002-04-07 17:11 ` Christoph Hellwig
2002-04-07 17:14   ` arjan
2002-04-07 17:42 ` Alan Cox
2002-04-07 17:27   ` arjan
2002-04-07 17:48     ` Alexander Viro
2002-04-07 17:33   ` John Levon
2002-04-07 19:18     ` Alan Cox
2002-04-07 19:23       ` John Levon
2002-04-07 19:42         ` Alan Cox
2002-04-07 19:32           ` John Levon [this message]
2002-04-07 19:58             ` Alan Cox
2002-04-07 19:40       ` Jan Harkes
2002-04-07 20:01         ` Alan Cox
2002-04-07 20:13           ` Jan Harkes
2002-04-07 19:49     ` Alan Cox
2002-04-07 19:41       ` John Levon
2002-04-07 19:55         ` Muli Ben-Yehuda
2002-04-07 20:29           ` Alan Cox
2002-04-07 20:23             ` Muli Ben-Yehuda
2002-04-07 20:51               ` Alan Cox
2002-04-07 23:03               ` Anton Altaparmakov
2002-04-08  6:27                 ` Muli Ben-Yehuda
2002-04-07 20:02         ` Alan Cox
2002-04-07 20:10         ` Eric W. Biederman
2002-04-07 23:06           ` John Levon
2002-04-07 19:44       ` Steven N. Hirsch
2002-04-08 14:48     ` Bill Davidsen
2002-04-08 16:06       ` Philippe Elie
2002-04-08 17:53         ` Eric W. Biederman
2002-04-08 18:07           ` John Levon
2002-04-07 23:31   ` Erik Tews
     [not found] <20020407193245.GA21570@compsoc.man.ac.uk.suse.lists.linux.kernel>
     [not found] ` <E16uIoN-0006b3-00@the-village.bc.nu.suse.lists.linux.kernel>
2002-04-07 21:34   ` Andi Kleen

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=20020407193245.GA21570@compsoc.man.ac.uk \
    --to=movement@marcelothewonderpenguin.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shirsch@adelphia.net \
    /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