]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: fix up erofs_lookup tracepoint
authorGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 21 Sep 2021 14:35:30 +0000 (22:35 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 23 Sep 2021 15:21:34 +0000 (23:21 +0800)
commit365406e40e92d10f5aa2409e107cd91f47c19933
treef13d0a2f4841d08327fd4f9a77e6e48245579f29
parentfa5d4460cfe6a4ab811a36d49fe44ccb61944b70
erofs: fix up erofs_lookup tracepoint

Fix up a misuse that the filename pointer isn't always valid in
the ring buffer, and we should copy the content instead.

Link: https://lore.kernel.org/r/20210921143531.81356-1-hsiangkao@linux.alibaba.com
Fixes: b95e3fa8a352 ("staging: erofs: support tracepoint")
Cc: stable@vger.kernel.org # 4.19+
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
include/trace/events/erofs.h