Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing function names when opening CacheGrind file in WinCacheGrind

Hell All. I installed XDEBUG on a apache/php server as a ZEND module. It outputs profiling files but the output does not contain function names, just numbers.

I does not look like other cachegrind output files. My files have numbers instead of function/file names.

If I try to use WinCacheGrind to open a file it turns an error. Also I installed webgrind and the output shows only numbers. Some times there is a filename but it has a number in front of the file name. Clicking on it results in an error.

version: 1 creator: xdebug 2.3.2 cmd: /backup/united/public_html/member.php part: 1 positions: line

events: Time

fl=(1) php:internal
fn=(1) php::define
7 5

fl=(1)
fn=(1)
51 3

fl=(1)
fn=(1)
52 1

fl=(1)
fn=(1)
53 1

fl=(1)
fn=(1)
54 1

fl=(1)
fn=(1)
55 1

fl=(1)
fn=(1)
57 1

fl=(1)

View Webgrind image

like image 906
Pamela Melissa Avatar asked Mar 16 '23 14:03

Pamela Melissa


1 Answers

I found out that Xdebug 2.3.2 has a new format that is not compatible with webgrind and other visualizers. That's why the visualization does not include function names.

However it is compatible with QCacheGrind 0.7.4 I installed it and found the source of the poor performance in a web server.

like image 155
Pamela Melissa Avatar answered Mar 19 '23 05:03

Pamela Melissa