Linux kernel's lockdep utility as a library by a patchset of Sasha Levin.
- ./patches: The patchsets that was used in order to add the lockdep library. No longer needed, they were added as a historic reference. They can be found in https://lkml.org, search for liblockdep.
- ./tools/lib/lockdep: The files for the liblockdep
- ./tools/perf: The perf tool from the kernel. liblockdep add some instrumentation in this tool.
Not tested yet.
LD_PRELOAD=/path/to/liblockdep.so /path/to/my/program
- Introductory article for liblockdep - http://lwn.net/Articles/536363/
- Usage of liblockdep - https://lkml.org/lkml/2013/2/9/152
- Removed from kernel (linux-next branch) - https://lkml.org/lkml/2013/2/19/52