Skip to content

Commit

Permalink
Add documentation for memprof.output_format ini setting (#103)
Browse files Browse the repository at this point in the history
References #101
  • Loading branch information
melkamar authored Apr 17, 2024
1 parent eb4c6a5 commit 5f64f86
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ to PHP's own allocations.
Note that when native tracking is enabled, the program will crash if a native
library uses threads, because the underlying hooks are not thread safe.

### Output format

The output file format is defined with the `memprof.output_format` ini setting. The options are:
- `callgrind` (default)
- `pprof`

**Note**: this may only be available when the extension is built from source (and not installed with pecl), as of https://github.com/arnaud-lb/php-memory-profiler/issues/101.

## Functions documentation

### memprof_enabled()
Expand Down

0 comments on commit 5f64f86

Please sign in to comment.