kcachegrind

Showing call tree in kcachegrind

How can I use kcachegrind to get a non-graphical tree of all my function calls, in the order they were called? There are two typical ways to look at profiling data: sorted by the most expensive entries sorted in order of execution I'm looking for the latter. I can sort of get it with the "Call Graph" tab, but this omits some data, a...

KCachegrind interpretation confusion

Hey! I am trying to understand the values shown in Kcachegrind in the left panel I have Incl. (which I read in the manual is inclusive), Self, Called an Function Now I am analyzing this cachegrind file and I have Incl. ---- Self ---- Called ---- Function 100.05 ---- 0.04 ---- (0) ---- {main} 83.38 ---- 0.07 ---- 250 --- item->close...

To use Xdebug2's profiling data in debugging PHP by Ubuntu

My question is based on this article. How can you make the profiling data about a PHP code by Xdubug2 and then put it to an app like KCacheGrind? I have used successfully Xdebug in my Ubuntu, since it highlights my error messages in the browser. However, I have not find any terminal tool like xdebug. I would like to have a visual view...

Console alternative of kcachegrind?

Kcachegrind rocks and it's of my favorite tools, however from time to time I'm missing the ability to run it in terminal(e.g using ssh) on the remote server. I know it's possible to setup VNC or X-server forwarding but it's quite clumsy while I need something simple. Is there any kcachegrind console alternative(e.g ncurses based)? ...

kcachegrind for RHEL 5.1

I'm about to perform profiling to application. I have vagrind, but kcachegrind is not installed. Tryied to compile without success. Where it can be obtained from for RHEL 5.1? ...

Can I export tables from kcachegrind?

I have generated a call profile with callgrind which I can turn into nice and clear tables using kcachegrind. Now I would like to discuss the result with others, thus I would like to export e.g. the "callers table" for one specific function. Apparently, kcachegrind does not provide such a functionality (at least in 0.4.5), does it? If ...

Using cProfile results with KCacheGrind

I'm using cProfile to profile my Python program. Based upon this talk I was under the impression that KCacheGrind could parse and display the output from cProfile. However, when I go to import the file, KCacheGrind just displays an 'Unknown File Format' error in the status bar and sits there displaying nothing. Is there something speci...

Using callgrind/kcachegrind to get per-thread statistics

I'd like to be able to see how "expensive" each thread in my application is using callgrind. I profiled with the --separate-thread=yes option which gives you a callgrind file for the whole app and then one per-thread. This is useful for viewing the profile of any given thread, but what I really want is just a sorted list of CPU time ...

Need help in understanding kcachedgrind output

Hi, I am using valgrind callgrind to profile a program on gtk. And then I use kcachedgrind to read the result. I have captured an update a screenshot of kcachedgrind here: http://i41.tinypic.com/168spk0.jpg. It said the function gtk_moz_embed_new() costed '15.61%'. But I dont understand how is that possible. the function gtk_moz_embed_n...

Tools for analyzing cachegrind files in aggregate?

Are there any tools that can analyze a folder full of xdebug dumps in aggregate? When we enabled Xdebug profiling on our production server for short periods of time, we always end up with hundreds of files, that takes a lot of time to analyze individually in WinCacheGrind or KCacheGrind. I am looking for a tool that can be used in aggre...

Python cProfile: how to filter out specific calls from the profiling data?

I've started profiling a script which has many sleep(n) statements. All in all, I get over 99% of the run time spent sleeping. Nevertheless, it occasionally runs into performance problems during the time that it does real work but the relevant, interesting profiling data becomes very difficult to identify when e.g. using kcachegrind. Is...