ProcDump-for-Linux
ProcDump-for-Linux copied to clipboard
A Linux version of the ProcDump Sysinternals tool
This implements the logic to track all processes in a specified PGID group.
Looks like test suite is failing ```console + cd ProcDump-for-Linux-1.2 + /usr/bin/make -O -j48 V=1 VERBOSE=1 test -j1 rm -rf obj rm -rf bin rm -rf /home/tkloczko/rpmbuild/BUILD/ProcDump-for-Linux-1.2/pkgbuild mkdir -p obj...
### Expected behavior I can set dump generation action(program). ### Actual behavior Dump generation program is hardcoded. ### Use case I can trigger debugger, profiler or other tool. ### System...
The Makefile [hardcodes](https://github.com/Microsoft/ProcDump-for-Linux/blob/7efe055198799e4c8640c433310e0b51dd9c1586/Makefile#L2) the CC variable as `CC=gcc`, forcing users to comment it out in case they want to use clang/a different version of gcc. It would be wiser IMHO...
### Expected behavior Dump file to be created! ### Actual behavior Getting the following error message: An error occurred while generating the core dump for .NET 3.x+ process ### Steps...
If you install procdump via package manager dependencies ensure that gdb is installed. However if you build procdump and gdb is not installed it will loop forever with the below...
The -s switch needs to behave as the Windows version. On Windows, the -s switch states to only generate a dump if the condition was true throughout the -s interval....
Would you like to add more error handling for return values from functions like the following? - [pthread_mutex_init](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html "Initialize a mutex.") ⇒ [InitNamedEvent](https://github.com/microsoft/ProcDump-for-Linux/blob/1fb637759985a2838d4b0e3ae08f4173da2daa94/src/Events.c#L66) - [malloc](https://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [WaitForMultipleObjects](https://github.com/microsoft/ProcDump-for-Linux/blob/1fb637759985a2838d4b0e3ae08f4173da2daa94/src/Handle.c#L157)
https://github.com/Sysinternals/ProcDump-for-Linux/blob/ec32a73c41d35142c785138c5a0a9bde9ea46dd3/CMakeLists.txt#L241-L248