lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/11] trace-cmd: Extract parse_record_options() from trace_record()
On Tue, 28 Nov 2017 20:17:46 +0200
Vladislav Valtchev <vladislav.valtchev@gmail.com> 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

\
 
 \ /
  Last update: 2017-11-28 19:30    [W:0.093 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site