Skip to content

Generate unrecognized profile format #83

@xxm404

Description

@xxm404

Description

The following code:

<?php
memprof_enable();
memprof_dump_pprof(fopen("profile.heap", "w"));

pprof --text profile.heap 

Resulted in this output:

profile.heap: parsing profile: unrecognized profile format
failed to fetch any source profiles

But I expected this output instead:

php-memprof Version

php-memprof 3.0.2

PHP Version

PHP 7.2.26

Operating System

Ubuntu 18.04.4 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions