misng function calls in report
Status: Beta
Brought to you by:
weidendo
I run simple test with calls
main-->g
\->f->g
and callgrind detects that g has call count 2 but fails
to show all callers: only shows f, misses main.
versions used:
valgrind-2.2.0
callgrind-0.9.10
kcachegrind-0.4.5
on Linux:
Linux xxx.xxx.com 2.4.20-30.7.legacy #1 Fri Feb 20
10:46:44 PST 2004 i686 unknown
simple .c test with 2 functions
Logged In: NO
Actually after rerunning exactly the same case I see that
now it's correct. No change was made.
Many diffs in callgrind.outXXX file compared with failed case.
I am confused now.
Logged In: NO
Sorry for many commants, but:
different runs of kcachegrind off the same file
cachegrind.outXXX give different pictures: sometimes one
call to g missing one lft, sometimes g is completely
missing, sometimes it's correct (both calls visible).
Something is fishy in the kcachegrind interface I think.
Yuri (yuri at DELETEtsoftALL.comCAPITALS)
Logged In: NO
Sorry for many commants, but:
different runs of kcachegrind off the same file
cachegrind.outXXX give different pictures: sometimes one
call to g missing one lft, sometimes g is completely
missing, sometimes it's correct (both calls visible).
Something is fishy in the kcachegrind interface I think.
Yuri (yuri at DELETEtsoftALL.comCAPITALS)
Logged In: NO
PLEASE DISREGARD and close: it was my misunderstanding.
Sorry.
Yuri
Logged In: NO
I can confirm this bug with
Valgrind 2.4.0.rc4
callgrind-0.9.10
KCachegrind-0.4.5kde
The size of my application is ~4MB (with -g1) to ~8M (with -g3)
When I run cachegrind alone with my application, all
funtions seems to be there in the report file. With
callgrind report files, there are functions missing.
I can send report files on request.
Lehtonen, Matti
m-Matti-a.Lehtonen <-> IKI.Fi
Logged In: NO
I have traced this bug and it seems that string compression
is causing this. When optin --compress-strings=no is used,
all functions are reported.
Lehtonen, Matti
m-Matti-a.Lehtonen <-> IKI.Fi
Logged In: NO
damn ... false alarm .. .still missing, ignore previous message
Lehtonen, Matti
m-Matti-a.Lehtonen <-> IKI.Fi