linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carl Spalletta <cspalletta@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: inventing the wheel?
Date: Tue, 27 May 2003 11:05:46 -0700 (PDT)	[thread overview]
Message-ID: <20030527180546.15656.qmail@web41501.mail.yahoo.com> (raw)

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?

             reply	other threads:[~2003-05-27 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 18:05 Carl Spalletta [this message]
2003-05-27 22:09 ` inventing the wheel? Carl-Daniel Hailfinger
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=20030527180546.15656.qmail@web41501.mail.yahoo.com \
    --to=cspalletta@yahoo.com \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).