|
From: Josef W. <Jos...@gm...> - 2004-02-02 13:36:16
|
Hi, On Sunday 01 February 2004 14:41, Nicholas Nethercote wrote: > The names of the tools are a bit confusing, unfortunately... KCachegrind > doesn't actually read in Cachegrind output. You need Josef Weidendorfer's Yes it does. I kept the format of calltree fully upwards compatible with cachegrind. I think it's quite easy to come up with a patch to support "--dump-instr=yes" in cachegrind. Annotated dissassembled code is always a valuable addition. For the format, insert a line "positions: instr line" at beginning, and pretend each data line with the instruction address relative to the ELF object load address. A little more work would be the need to support this in cg_annotate. But it shouldn't be too hard. Nick, would you accept a patch? Josef > "Calltree" tool, which is based on Cachegrind, but has a different output > format. You can download it from > kcachegrind.sourceforge.net/cgi-bin/show.cgi. > > N |