Created attachment 412318 [details] test program 1) Compile attached program like this: gcc -fno-inline -fno-omit-frame-pointer -O0 test.c -o test 2) Run the program for a while and collect data in sysprof 3) Get a performance listing for the program looking something like this: > test +-> bar (90.9%) +-> foo (9%) +-> main (0.1%) Instead the profile should look kinda like this: > test +-> main (100%) +-> foo (90.9%) +-> bar (82%) +-> bar (9%) I'm not sure who to blame for this, so I'm filing it against sysprof first. I also tried compiling it for 32bit and running it with 32bit and 64bit sysprof, and that didn't help either.
I investigated this further and it seems perf is broken, too. In fact, it seems the SYS_perf_event_open syscall does not produce any useful data for callgraphs. Oprofile seems to work, though I feel a bit incapable of parsing opreport output.
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping