On 1/15/18 8:53 AM, weiping zhang wrote: > if we run blktrace on same device twice, the second time will failed > to ioctl(BLKTRACESETUP), then it will call __stop_tracer, which lead > the first blktrace failed to access debugfs entries. So this patch add > a check to handle this case, to avoid stop tracer uncondionally. Thanks, looks good to me, applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html