All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2003@gmx.net>
To: Carl Spalletta <cspalletta@yahoo.com>
Cc: linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@transmeta.com>,
	Dan Carpenter <d_carpenter@sbcglobal.net>
Subject: Re: inventing the wheel?
Date: Wed, 28 May 2003 00:09:40 +0200	[thread overview]
Message-ID: <3ED3E224.1000402@gmx.net> (raw)
In-Reply-To: <20030527180546.15656.qmail@web41501.mail.yahoo.com>

Carl Spalletta wrote:
> I was interested in finding a tool that would tell me all the paths
> through the kernel leading to some particular function, for example in
> the case of do_mmap_pgoff:
> 
> do_mmap_pgoff do_mmap2 old_mmap old_mmap_i386
> do_mmap_pgoff do_mmap2 sys_mmap2
> do_mmap_pgoff do_mmap aio_setup_ring ioctx_alloc sys_io_setup
> do_mmap_pgoff do_mmap elf_map load_elf_binary
> ...
> 
> I submitted a tool ('fscope') to do this but no one has picked up
> on the discussion. So I am wondering if there isn't already some
> existing and better way to accomplish the same thing.
> 
> Could somebody tell me please, what is that way?
> 
> I know you can do a backtrace w/ gdb but that begs the question
> how are you going to sure you have found every path?

It seems everybody is busy trying Linus' sparse, so maybe it was
overlooked. Right now, it seems we have a few new tools to play with,
which were not available at the time of 2.4-test.

(Alphabetic order)
-Checker (Stanford people)
-Fscope (Carl Spalletta)
-Smatch (Dan Carpenter)
-Sparse (Linus Torvalds)

Now we only need one additional tool to *prove* correctness of the
kernel ;-)

-an automatic race finder

Liberal use of these tools should result in the most stable kernel ever.


Regards,
Carl-Daniel


  reply	other threads:[~2003-05-27 21:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 18:05 inventing the wheel? Carl Spalletta
2003-05-27 22:09 ` Carl-Daniel Hailfinger [this message]
2003-05-28 12:28   ` Carl Spalletta
2003-05-30 14:30   ` Werner Almesberger
2003-05-30 15:12     ` Richard B. Johnson
2003-05-30 15:26       ` Werner Almesberger

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=3ED3E224.1000402@gmx.net \
    --to=c-d.hailfinger.kernel.2003@gmx.net \
    --cc=cspalletta@yahoo.com \
    --cc=d_carpenter@sbcglobal.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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.