From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752624AbbCTPsO (ORCPT ); Fri, 20 Mar 2015 11:48:14 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:34130 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbbCTPsM (ORCPT ); Fri, 20 Mar 2015 11:48:12 -0400 Message-ID: <550C413A.2010301@gmail.com> Date: Fri, 20 Mar 2015 09:48:10 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: linux-kernel@vger.kernel.org, Steven Rostedt , Namhyung Kim , Jiri Olsa Subject: Re: [PATCH] perf trace: Handle legacy syscalls References: <1426790181-19118-1-git-send-email-dsahern@gmail.com> <20150320153226.GI16485@kernel.org> In-Reply-To: <20150320153226.GI16485@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/20/15 9:32 AM, Arnaldo Carvalho de Melo wrote: > But then I don't think we need to do that, i.e. we can just have a > boolean we set at some point to tell that we need to skip the first > entry. > > I'll try to cook up a patch for that. why have a boolean that is checked every time through the loop when its value will always be the same for a give run? why not just remove the entry as I suggested?