Skip to content

Commit

Permalink
Merge 2bee27a into 08d1d7e
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-i committed Jul 28, 2020
2 parents 08d1d7e + 2bee27a commit 8385b71
Show file tree
Hide file tree
Showing 72 changed files with 3,302 additions and 672 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ sudo php ./php-profiler inspector:trace -p <pid of the target process or thread>
sudo php ./php-profiler inspector:eg -p <pid of the target process or thread>
```

## Use daemon mode
```
sudo php ./php-profiler inspector:daemon -P <regex to find target processes>
```

## Use in a docker container and target a process on host
```
docker build -t php-profiler .
Expand Down Expand Up @@ -77,4 +82,4 @@ This product includes the Zend Engine, freely available at
```

# Credits
- php-profiler is heavily inspired by [adsr/phpspy](https://github.com/adsr/phpspy).
- php-profiler is heavily inspired by [adsr/phpspy](https://github.com/adsr/phpspy).
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"php": "^7.4",
"ext-ffi": "*",
"ext-pcntl": "*",
"ext-filter": "*",
"symfony/console": "^5.0",
"php-di/php-di": "^6.1",
"ext-filter": "*"
"amphp/parallel": "^1.4",
"amphp/amp": "^2.4"
},
"require-dev": {
"ext-posix": "*",
Expand Down
Loading

0 comments on commit 8385b71

Please sign in to comment.