Re: [PATCH v2 10/10] Btrfs: noinline merge_extent_mapping

2018-01-09 Thread Josef Bacik
On Fri, Jan 05, 2018 at 12:51:17PM -0700, Liu Bo wrote: > In order to debug subtle bugs around merge_extent_mapping(), perf probe > can be used to check the arguments, but sometimes merge_extent_mapping() > got inlined by compiler and couldn't be probed. > > This is adding noinline attribute to

[PATCH v2 10/10] Btrfs: noinline merge_extent_mapping

2018-01-05 Thread Liu Bo
In order to debug subtle bugs around merge_extent_mapping(), perf probe can be used to check the arguments, but sometimes merge_extent_mapping() got inlined by compiler and couldn't be probed. This is adding noinline attribute to merge_extent_mapping(). Signed-off-by: Liu Bo