[Linux-stable-mirror] [added to the 4.1 stable tree] tracing: Allocate mask_str buffer dynamically