commit | 31aab402076f7743b70217cdaa00356e8f8ec530 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Mon Apr 15 21:15:25 2019 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Apr 29 19:02:43 2019 +0200 |
tree | 7d75128d2cf0a8c6cc67f5e747feba42134cf4f3 | |
parent | 34e73cc930a8677426c9cbffdd3421e18f32e79f [diff] |
btrfs: trace: Introduce trace events for all btrfs tree locking events Unlike btrfs_tree_lock() and btrfs_tree_read_lock(), the remaining functions in locking.c will not sleep, thus doesn't make much sense to record their execution time. Those events are introduced mainly for user space tool to audit and detect lock leakage or dead lock. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>