trace_allocate_snapshot
ret = trace_allocate_snapshot(tr, size);
int trace_allocate_snapshot(struct trace_array *tr, int size);