tracing function with Graphviz


 
Thread Tools Search this Thread
Top Forums Programming tracing function with Graphviz
# 1  
Old 01-19-2009
tracing function with Graphviz

I was searching for a tool to trace the function flow to help me understand the code. I came across the article "visualize function calls with graphviz" by Tim Jones.
Visualize function calls with Graphviz

I was able to obtain the flow diagram for simple programs and also for the example program mentioned in the article.

But failed when tried to use for large project. I included instrument.c file in the Makefile under the list of source files to be compiled. instrument.o file was generated but trace.txt was not generated. Also included -g and -finstrument-functions..

CFLAGS = -g -finstrument-functions


Can anyone guide me, if you have used that tool...

Thanks,
Chandra
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. SuSE

GraphViz Help

I have a SLES 11(SP1) server that I am trying to install graphviz 2.28 on. Unfortunately that is not a comman combination, so I can't just use an RPM to install it, I have to build it from source. When doing so, when I configure it, I can't get it to recognize that pangocairo is actually... (4 Replies)
Discussion started by: cbo0485
4 Replies

2. Shell Programming and Scripting

Tracing a function call

Hi I am hoping someone can explain this to me as I am struggling to understand it. I had a problem today with needing to trace a ksh script that was dotting in a function that was writing to stdout. The problem was it was being run in a sub shell and the output was being parsed by the... (1 Reply)
Discussion started by: steadyonabix
1 Replies

3. Programming

Tracing Function Calls in a program

Apart from writing debug and statements in constructors is there any way by which we can trace the function call stack at any depth? The issue that we always face is that when program crashes (Web Server running on Linux) we have no idea where it crashes and we have to do the hard way of... (1 Reply)
Discussion started by: uunniixx
1 Replies

4. Shell Programming and Scripting

tracing in linux

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (2 Replies)
Discussion started by: shary
2 Replies

5. Linux

tracing

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (1 Reply)
Discussion started by: shary
1 Replies

6. SuSE

Installing graphviz

hi all, iam trying to install graphviz software on my linux box(suse linux). i downloaded rpm graphviz-2.9.20060521.0440-1.fc1.i386.rpm i'm using rpm --install graphviz-2.9.20060521.0440-1.fc1.i386.rpm but getting the errors warning: user ellson does not exist - using root warning: group... (1 Reply)
Discussion started by: wxwidgets
1 Replies
Login or Register to Ask a Question
repoclosure(1)															    repoclosure(1)

NAME
repoclosure - display a list of unresolved dependencies for a yum repository SYNOPSIS
repoclosure [options] DESCRIPTION
repoclosure is a program that reads package metadata from one or more yum repositories, checks all dependencies, and displays a list of packages with unresolved dependencies. OPTIONS
-h, --help Display a help message, and then quit. -c CONFIG, --config=CONFIG Config file to use (defaults to /etc/yum.conf). -a ARCH, --arch=ARCH Check packages of the given archs, can be specified multiple times (default: current arch). --basearch=BASEARCH Set the basearch for yum to run as. -b, --builddeps Check build dependencies only (needs source repos enabled). -l LOOKASIDE, --lookaside=LOOKASIDE Specify a lookaside repo id to query, can be specified multiple times. -r REPOID, --repoid=REPOID Specify repo ids to query, can be specified multiple times (default is all enabled). -t, --tempcache Use a temp dir for storing/accessing yum-cache. -q, --quiet Run quietly: no warnings printed to stderr. -n, --newest Check only the newest packages in the repos. --repofrompath=REPOID,PATH/URL Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used multiple times. If you want to view only the pkgs from this repository combine this with --repoid. The repoid for the repository is specified by REPOID. -p PKG, --pkg=PKG Check closure for this package only -g GROUP, --group=GROUP Check closure for packages in this group only SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. 13 January 2013 repoclosure(1)