Skip to content

Commit

Permalink
liblockdep: Add the 'lockdep' user-space utility
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
sashalevin authored and Ingo Molnar committed Nov 27, 2013
1 parent 231941e commit f612ac0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/lib/lockdep/lockdep
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

LD_PRELOAD="./liblockdep.so $LD_PRELOAD" "$@"

0 comments on commit f612ac0

Please sign in to comment.