Re: [PATCH 04/11] trace-cmd: Extract parse_record_options() from trace_record()

From: Steven Rostedt
Date: Tue Nov 28 2017 - 13:30:31 EST


On Tue, 28 Nov 2017 20:17:46 +0200
Vladislav Valtchev <vladislav.valtchev@xxxxxxxxx> wrote:

> Since that code was profile-specific, I put it in trace_profile(),
> without 'if' statements, clearly.

This is all about balancing. You were able to remove one if statement,
but required two function calls by all others.

-- Steve