pounard/xtrace2fg

Converts XDebug TRACE files to https://github.com/brendangregg/FlameGraph compatible input

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Type:project

1.0.0 2017-10-05 08:02 UTC

README

Prerequisites

You need https://github.com/brendangregg/FlameGraph to be installed.

Usage

xtrace2fg TRACE_FILE | flamegraph.pl > OUTPUT.svg

Where:

  • FILE is the XDebug TRACE file (generated using xdebug.trace_format=1)

  • OUTPUT.svg if the output filename

You can load the SVG output file into any recent browser to benefit from browsing capabilities in the flame graph.