I am running oprofile collecting (samples of) callgraph, and running the output through the op2calltree running kcachegrind on the output file. I would not expect an accurate callgraph since I am sampling, but the name of the converter seems to indicate that I should get something.
kcachegrind does give me a nice, cumulative (I assume) version of opannotate in its source window. But "Callers" and "Callees" displays are blank, and "Call Graph" just shows the node for the function that I have selected. Is there a later version of op2calltree that works better? The one that I have on my system is # Copyright (c) 2004 ... # Converter from OProfile's output of "opreport -gdf" (v 0.8) kcachegrind is version 0.4.6kde (opcontrol, opreport, etc are oprofile 0.9.1) I should not complain: it is really nice to have a cumulative version of opannotate. But it would be even nicer to see kcachegrind displaying at least the callgraph information that opreport -c provides and preferably more. Is there a later version of op2calltree that provides call graph information? -- Allyn --- gory details follow --- opcontrol --start-daemon --vmlinux=/boot/vmlinux-`uname -r` opcontrol --setup --callgraph=32 --separate=cpu,kernel opcontrol --start sleep 1800 opcontrol --dump opcontrol --stop opcontrol --save=`date +%Y.%m.%d.%H.%M` opcontrol --shutdown opreport "session:2009.03.30.19.05" -gdf | ./op2calltree kcachegrind oprof.out.foo ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
