summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2013-06-13 18:41:23 -0400
committerIngo Molnar <mingo@kernel.org>2013-11-27 11:56:25 +0100
commitf612ac05b7ce66919507d25f4c81e4272f7a8705 (patch)
tree16a2897e920aebfeb0e2a8d38cfe9f5e745d28af /tools/lib/lockdep
parent231941eec8aeee4f0ac210a28e484200b20f74d8 (diff)
downloadlinux-f612ac05b7ce66919507d25f4c81e4272f7a8705.tar.bz2
liblockdep: Add the 'lockdep' user-space utility
This is a simple wrapper to make using liblockdep on existing applications much easier. After running 'make && make install', it becomes quite simple to test things with liblockdep. For example, to try it on perf: lockdep perf No other integration required. 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-9-git-send-email-sasha.levin@oracle.com [ Changed it to load ./liblockdep.so, so it can be tested in situ. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/lockdep')
-rwxr-xr-xtools/lib/lockdep/lockdep3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/lockdep/lockdep b/tools/lib/lockdep/lockdep
new file mode 100755
index 000000000000..49af9fe19f5b
--- /dev/null
+++ b/tools/lib/lockdep/lockdep
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+LD_PRELOAD="./liblockdep.so $LD_PRELOAD" "$@"