Address comments from https://github.com/iovisor/bcc/pull/936
- Remove dependency on networkx. I did this by copying only the parts I needed from networkx, and adapting it to only use what I needed. These include: `DiGraph`, `strongly_connected_components`, `simple_cyles` - Symbolize global and static mutexes. In order to do this, I subshell out to `subshell`. This isn't very efficient, but this only happens at the end of the program if a deadlock is found, so it's not too bad. - `--verbose` mode to print graph statistics - Make `--binary` flag optional. Not needed by default, However, this is needed on kernels without this recent kernel patch (https://lkml.org/lkml/2017/1/13/585, submitted 2 weeks ago): we can't attach a uprobe on a binary that has `:` in the path name. Instead, we can create a symlink without `:` in the path and pass that to the `--binary` argument instead.
Showing
- FAQ.txt 2 additions, 4 deletionsFAQ.txt
- INSTALL.md 0 additions, 8 deletionsINSTALL.md
- debian/control 1 addition, 1 deletiondebian/control
- man/man8/deadlock_detector.8 32 additions, 12 deletionsman/man8/deadlock_detector.8
- tools/deadlock_detector.py 300 additions, 53 deletionstools/deadlock_detector.py
- tools/deadlock_detector_example.txt 204 additions, 192 deletionstools/deadlock_detector_example.txt
This diff is collapsed.
Please register or sign in to comment