[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gprof and line information
From: |
Daniel Simon |
Subject: |
gprof and line information |
Date: |
11 Jul 2001 09:39:06 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Hi,
I have observed the following problem with gprof (version
2.{10,11}.{1,2,91}):
I run gprof as follows on my OSes:
gprof --print-path --line --flat-profile mybinary somerun.out
On Solaris, the resulting lines concerning the functions contain the
complete path to the file where the corresponding function is
defined. This is what I expect and what is documented.
On Linux, the above produces a different result: the --print-path and
--line options seem to be ignored. If I omit the --flat-profile, the
path and file and line information I want is listed in the Call Graph
area.
However, on HP-UX, it seems there is no combination that gets me the
stuff out of gprof.
Is this the intented behavior? And just not documented?
d.
--
Dipl.-Inform. Daniel Simon | Universität Stuttgart, Institut für Informatik
Tel.: +49 711 78 16 213 | Abt. Programmiersprachen und Compilerbau
Fax.: +49 711 78 16 380 | Breitwiesenstr. 20-22
| 70565 Stuttgart
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gprof and line information,
Daniel Simon <=