PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > how to generate a graphical call graph
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

how to generate a graphical call graph

Réponse
 
LinkBack Outils de la discussion
Vieux 13/11/2007, 21h10   #1
cs
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to generate a graphical call graph

I was looking for a tool that would generate a graphical call graph (aka
SGI's old Speedshop tools) but couldn't find anything appropriate in
'etch'. ie for a given Fortran code that has numerous subroutines I
wish to know what calls what (eg via gprof) but also to get a graphical
representation (without having to put it all manually into Xfig or the
like).

It's possible that my choice of apt-cache search strings meant I missed
something in which case pray tell!

The only thing that I could find with a quick Google was Intel's Vtune
but that seems inappropriate for Debian in that the provided install.sh
script attempts to find 'chkconfig', fails and aborts!

All ideas most welcome,
Ta, M


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 21h30   #2
Michael Marsh
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to generate a graphical call graph

On Nov 13, 2007 4:08 PM, cs <cs@networkingnewsletter.org.uk> wrote:
> I was looking for a tool that would generate a graphical call graph (aka
> SGI's old Speedshop tools) but couldn't find anything appropriate in
> 'etch'. ie for a given Fortran code that has numerous subroutines I
> wish to know what calls what (eg via gprof) but also to get a graphical
> representation (without having to put it all manually into Xfig or the
> like).


I'm not sure what the call graph output from gprof looks like, but you
might be able to script something to convert it to dot's format. See
the graphviz package. The format of the dot input file will look
something like:

digraph {
foo -> bar;
bar -> baz;
}

Doxygen will create small-scale call graphs for you, but it doesn't
work with Fortran.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 15/11/2007, 08h40   #3
Jörg-Volker Peetz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to generate a graphical call graph

cs wrote:
> I was looking for a tool that would generate a graphical call graph (aka
> SGI's old Speedshop tools) but couldn't find anything appropriate in
> 'etch'. ie for a given Fortran code that has numerous subroutines I
> wish to know what calls what (eg via gprof) but also to get a graphical
> representation (without having to put it all manually into Xfig or the
> like).
>
> It's possible that my choice of apt-cache search strings meant I missed
> something in which case pray tell!
>
> The only thing that I could find with a quick Google was Intel's Vtune
> but that seems inappropriate for Debian in that the provided install.sh
> script attempts to find 'chkconfig', fails and aborts!
>
> All ideas most welcome,
> Ta, M
>


For Fortran 77 I used to use the combination of ftnchek with switch -vcg
and vcg:

ftnchek, A static analyzer for Fortran 77
http://www.dsm.fordham.edu/~ftnchek/

VCG Overview
http://rw4.cs.uni-sb.de/~sander/html/gsvcg1.html

Would this work in your case?
--
Regards, Jörg-Volker.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h11.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17462 seconds with 11 queries