lkdp-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LKDP] Call Graph Generator


From: Mel
Subject: [LKDP] Call Graph Generator
Date: Wed, 17 Jul 2002 08:37:13 +0100 (IST)

I wrote a few scripts for generating call graphs easily for any lump of C
source including the kernel based on Martin Devera's work. The results are
at http://www.csn.ul.ie/~mel/projects/gengraph/ with a full set of
instructions there. For the purposes of LKDP, it can be condensed to

wget http://www.csn.ul.ie/~mel/projects/gengraph/gengraph-0.1.tar.gz
tar -zxvf gengraph-0.1.tar.gz
gengraph -g ./gengraph-0.1/graphs/full.graph-linux-2.4.19pre10 -f function_name

You'll need to have dot installed which comes with the graphviz package.
Your distribution probably has packages. If not, it's available at
http://www.research.att.com/sw/tools/graphviz/

Feedback welcome, flames aren't. Enjoy

-- 
Mel Gorman
MSc Student, University of Limerick
http://www.csn.ul.ie/~mel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]