MEM_FAIL
if (MEM_FAIL(!hash, "Failed to allocate hash\n"))
MEM_FAIL(1, "alloc failure, ftrace filter could be stale\n");
MEM_FAIL(!tr->percpu_dir,
MEM_FAIL(topts[cnt].entry == NULL,
if (MEM_FAIL(ret, "Failed to allocate trace buffer\n"))
if (MEM_FAIL(!trace_instance_dir, "Failed to create instances directory\n"))
if (MEM_FAIL(trace_array_create_dir(tr) < 0,
MEM_FAIL(1, "Could not allocate function filter files");
MEM_FAIL(1, "tracer: failed to allocate ring buffer!\n");
if (MEM_FAIL(!tracepoint_print_iter,
if (MEM_FAIL(!buffers, "Could not allocate percpu trace_printk buffer"))