JianyuWang0623 opened a new issue, #17268:
URL: https://github.com/apache/nuttx/issues/17268

   ### Description
   
   Hi,
   
   **Background**: As system functions continue to improve and become more 
comprehensive, monitoring the creation and exit of child processes and 
grandchild processes during runtime may prove quite important for debugging 
purposes.
   
   How can an application monitor a child process for creating new tasks (i.e., 
the creation of grandchild processes)?
   Without support for `ptrace()` at present, is it possible to implement a 
similar functionality to `ptrace()` + `PTRACE_O_TRACEFORK`?
   
   Polling `/proc` may not be a perfect method, as tasks that exit immediately 
after creation may fail to be monitored.
   
   Thanks,
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to