C语言函数调用树相关工具

9 views
Skip to first unread message

zhangjin wu

unread,
Nov 14, 2007, 1:06:46 AM11/14/07
to zhang...@lzu.cn, wang...@lzu.cn, yao...@lzu.cn, lzuos...@googlegroups.com
hi, all

there are several tools for generating a calling tree of a c program. which will help you reading the source code of FOSS, here are some relative documents i have found.

1. 使用Gnu gprof进行Linux平台下的程序分析

http://oss.lzu.edu.cn/modules/newbb/viewtopic.php?topic_id=884&forum=13

2. 介绍一个linux下生成C代码调用树的好工具calltree

http://www.linuxsir.org/bbs/printthread.php?t=246389

3.
用 Graphviz 可视化函数调用

http://www.ibm.com/developerworks/cn/linux/l-graphvis/

4. Call Graph Drawing Interface Page

http://www.ida.liu.se/~vaden/cgdi/
--
Student. Wu Zhangjin            
Lanzhou University      http://www.lzu.edu.cn
Distributed & Embedded System Lab      http://dslab.lzu.edu.cn
School of Information Science and Engeneering         http://xxxy.lzu.edu.cn
zhan...@gmail.com
160 mailbox 648 sub mailbox. Lanzhou 730107   .P.R.China
Tel:+86-931-5294051

zhangjin wu

unread,
Nov 14, 2007, 4:08:05 AM11/14/07
to zhang...@lzu.cn, wang...@lzu.cn, yao...@lzu.cn, lzuos...@googlegroups.com
what's more?

1. Run-time function call tree with gcc

http://ndevilla.free.fr/etrace/

2. KFT (Kernel function tracing)


http://tree.celinuxforum.org/CelfPubWiki/KernelFunctionTrace



在07-11-14,zhangjin wu <zhan...@gmail.com > 写道:

falcon

unread,
Nov 19, 2007, 11:50:44 PM11/19/07
to lzuossteam
I have written a very simple shell script tool for transforming the
tree result of the calltre or tree commands to a picture dicribed with
DOT language provided by Graphviz(Graph Visualization Software).

you can get it from http://oss.lzu.edu.cn/blog/blog.php?do_showone/tid_1425.html

PS: if you want, you can use it, modify it and redistribute it.

On Nov 14, 5:08 pm, "zhangjin wu" <zhangj...@gmail.com> wrote:
> what's more?
>
> 1. Run-time function call tree with gcc
>
> http://ndevilla.free.fr/etrace/
>
> 2. KFT (Kernel function tracing)
>
> http://tree.celinuxforum.org/CelfPubWiki/KernelFunctionTrace
>
> 在07-11-14,zhangjin wu <zhangj...@gmail.com> 写道:
>
>
>
>
>
> > hi, all
>
> > there are several tools for generating a calling tree of a c program.
> > which will help you reading the source code of FOSS, here are some relative
> > documents i have found.
>
> > 1. *** 使用Gnu gprof进行Linux平台下的程序分析<http://oss.lzu.edu.cn/modules/newbb/viewtopic.php?viewmode=compact&to...>
> > *
>
> >http://oss.lzu.edu.cn/modules/newbb/viewtopic.php?topic_id=884&forum=13
>
> > 2. *介绍一个linux下生成C代码调用树的好工具calltree
>
> >http://www.linuxsir.org/bbs/printthread.php?t=246389
>
> > 3. *用 Graphviz 可视化函数调用
>
> >http://www.ibm.com/developerworks/cn/linux/l-graphvis/
>
> > 4. Call Graph Drawing Interface Page
>
> >http://www.ida.liu.se/~vaden/cgdi/<http://www.ida.liu.se/%7Evaden/cgdi/>
> > --
> > Student. Wu Zhangjin
> > Lanzhou University http://www.lzu.edu.cn
> > Distributed & Embedded System Lab http://dslab.lzu.edu.cn
> > School of Information Science and Engeneering
> >http://xxxy.lzu.edu.cn
> > zhangj...@gmail.com
> > 160 mailbox 648 sub mailbox. Lanzhou 730107 .P.R.China
> > Tel:+86-931-5294051
>
> --
> Student. Wu Zhangjin
> Lanzhou University http://www.lzu.edu.cn
> Distributed & Embedded System Lab http://dslab.lzu.edu.cn
> School of Information Science and Engeneering http://xxxy.lzu.edu.cn
> zhangj...@gmail.com
Reply all
Reply to author
Forward
0 new messages