diff options
author | Darrick J. Wong <[email protected]> | 2016-06-21 11:53:28 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-06-21 11:53:28 +1000 |
commit | 479c641273df632478cda7fe76b833df64e319bc (patch) | |
tree | fcfade01ced0f2aab76e3366aaba93ad3d574acc /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 3f94c441e2c3dea029a46a2326b2170acf2c7713 (diff) |
xfs: enable buffer deadlock postmortem diagnosis via ftrace
Create a second buf_trylock tracepoint so that we can distinguish
between a successful and a failed trylock. With this piece, we can
use a script to look at the ftrace output to detect buffer deadlocks.
[dchinner: update to if/else as per hch's suggestion]
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions