RudjiGames / MTuner

MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
BSD 2-Clause "Simplified" License
2.63k stars 145 forks source link

Request for supporting following forked/child processes, or attaching to process #73

Closed aravind2612krishna closed 3 years ago

aravind2612krishna commented 3 years ago

Thank you for writing this tool. In some use cases, the actual executable to be profiled is forked by another process. In that case, unless we can attach to a process id or follow child processes, it is impossible to profile. Please consider adding support for this.

milostosic commented 3 years ago

What's the use case for this?

aravind2612krishna commented 3 years ago

Like I said, the actual executable to be profiled is forked by another process. In that case I'm not sure I can profile it without attaching to process id, or MTuner following each child process and creating a separate MTuner file for each.

milostosic commented 3 years ago

Again, it what scenario does this happen? Anyway, I don't see this as something that is worth my time but feel free to contribute - it's open source for a reason.