mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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]>
This commit is contained in:
parent
231941eec8
commit
f612ac05b7
1 changed files with 3 additions and 0 deletions
3
tools/lib/lockdep/lockdep
Executable file
3
tools/lib/lockdep/lockdep
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
LD_PRELOAD="./liblockdep.so $LD_PRELOAD" "$@"
|
||||
Loading…
Reference in a new issue