Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mcount: Protect FD for message channel
uftrace and libmcount communicate using a pipe in the data directory. We need to keep the file descriptor open to ensure that uftrace and libmcount can communicate correctly. Some daemon programs will close all file descriptors during they startup, we need to protect file descriptor which will be used to communicate uftrace and libmcount to avoid broken communication issue. Signed-off-by: Rongsong Shen <[email protected]>
- Loading branch information