hwms / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

Does not work for Valgrind/Cachegrind information generated by PHP+Xdebug #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Environment:

PHP 5.4.0beta2-dev (cli) (built: Sep 29 2011 11:13:35) (DEBUG)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
    with Xdebug v2.2.0-dev, Copyright (c) 2002-2011, by Derick Rethans

How to reproduce:

1. git clone git://github.com/thePHPcc/bankaccount.git
2. cd bankaccount
3. php -d xdebug.profiler_enable=1 htdocs/index.php
4. wget http://gprof2dot.jrfonseca.googlecode.com/git/gprof2dot.py
5. python gprof2dot.py /tmp/cachegrind.out.2109

Output:

error: unexpected end of file

Original issue reported on code.google.com by sebastia...@gmail.com on 30 Sep 2011 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
It works fine when I provide the "-format callgrind" argument. Sorry for the 
noise.

Original comment by sebastia...@gmail.com on 30 Sep 2011 at 10:58

GoogleCodeExporter commented 9 years ago
No prob.

Original comment by Jose.R.F...@gmail.com on 23 Oct 2011 at 8:50