Commit-ID:  f612ac05b7ce66919507d25f4c81e4272f7a8705
Gitweb:     http://git.kernel.org/tip/f612ac05b7ce66919507d25f4c81e4272f7a8705
Author:     Sasha Levin <[email protected]>
AuthorDate: Thu, 13 Jun 2013 18:41:23 -0400
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 27 Nov 2013 11:56:25 +0100

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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: 
http://lkml.kernel.org/r/[email protected]
[ Changed it to load ./liblockdep.so, so it can be tested in situ. ]
Signed-off-by: Ingo Molnar <[email protected]>
---
 tools/lib/lockdep/lockdep | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/lib/lockdep/lockdep b/tools/lib/lockdep/lockdep
new file mode 100755
index 0000000..49af9fe
--- /dev/null
+++ b/tools/lib/lockdep/lockdep
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+LD_PRELOAD="./liblockdep.so $LD_PRELOAD" "$@"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to