linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: inventing the wheel?
@ 2003-05-27 18:05 Carl Spalletta
  2003-05-27 22:09 ` Carl-Daniel Hailfinger
  0 siblings, 1 reply; 6+ messages in thread
From: Carl Spalletta @ 2003-05-27 18:05 UTC (permalink / raw)
  To: linux-kernel

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-30 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 18:05 inventing the wheel? Carl Spalletta
2003-05-27 22:09 ` 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

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).