liblockdep: Add public headers for pthread_mutex_t implementation
authorSasha Levin <sasha.levin@oracle.com>
Thu, 13 Jun 2013 22:41:18 +0000 (18:41 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 Nov 2013 10:55:22 +0000 (11:55 +0100)
commit45e6207464b59dca63c8a9a79a7befbbf6a68fdb
tree7de006920165d94903ebb05d0566d9d4a1a6502d
parent5634bd7d2ab14fbf736b62b0788fb68e2cb0fde2
liblockdep: Add public headers for pthread_mutex_t implementation

These headers provide the same API as their pthread mutex
counterparts.

The design here is to allow to easily switch to liblockdep lock
validation just by adding a "liblockdep_" to pthread_mutex_*()
calls, which means that it's easy to integrate liblockdep into
existing codebases.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: torvalds@linux-foundation.org
Link: http://lkml.kernel.org/r/1371163284-6346-4-git-send-email-sasha.levin@oracle.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lib/lockdep/include/liblockdep/common.h [new file with mode: 0644]
tools/lib/lockdep/include/liblockdep/mutex.h [new file with mode: 0644]