]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove the trailing newline used in the fmt parameter of TP_printk
authorHou Tao <houtao1@huawei.com>
Fri, 14 Apr 2017 18:43:27 +0000 (11:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Apr 2017 16:40:40 +0000 (09:40 -0700)
commit24edfe088909bfda3f14f64021e6211c853cde8b
treeb1afc32a872e529686be73ab2c744569ce79c7eb
parente9b0849cc30a0bf61417f78ff8b37aa0f10aae79
xfs: remove the trailing newline used in the fmt parameter of TP_printk

The trailing newlines wil lead to extra newlines in the trace file
which looks like the following output, so remove them.
>kworker/4:1H-1508  [004] .... 47879.101608: xfs_discard_extent: dev 8:0
>
>kworker/u16:2-238  [004] .... 47879.101725: xfs_extent_busy_clear: dev 8:0

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: fix the getfsmap tracepoints too]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_trace.h