Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Adds robustness to the perf.sh method for finding hhvm pid. #94

Merged
merged 1 commit into from
Feb 13, 2019

Conversation

dave-estes
Copy link
Contributor

Sometimes, the newest pid returned from pgrep -xn hhvm is a child
process of the parent hhvm process. In this case the perf-.map
file is missing, so just subract one and use the parent process.
Note: This process is not the instance of hhvm running perf.php.

Sometimes, the newest pid returned from pgrep -xn hhvm is a child
process of the parent hhvm process. In this case the perf-<pid>.map
file is missing, so just subract one and use the parent process.
Note: This process is not the instance of hhvm running perf.php.
@ottoni ottoni merged commit aa31148 into facebookarchive:master Feb 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants