Linux kernel's lockdep utility as a library by a patchset of Sasha Levin.