Fix up a misuse that the filename pointer isn't always valid in
the ring buffer, and we should copy the content instead.
Fixes: 13f06f48f7bf ("staging: erofs: support tracepoint")
Cc: stable@xxxxxxxxxxxxxxx # 4.19+
Signed-off-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>