From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752235AbbDBUmK (ORCPT ); Thu, 2 Apr 2015 16:42:10 -0400 Received: from mga03.intel.com ([134.134.136.65]:50968 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbbDBUmG (ORCPT ); Thu, 2 Apr 2015 16:42:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,512,1422950400"; d="scan'208";a="708134313" Message-ID: <551DA998.5060303@intel.com> Date: Thu, 02 Apr 2015 23:42:00 +0300 From: Adrian Hunter User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: Jiri Olsa , linux-kernel@vger.kernel.org, David Ahern , Borislav Petkov , Don Zickus , Frederic Weisbecker , Namhyung Kim , Stephane Eranian Subject: Re: [RFC 0/2] perf scripting cleanups References: <1427906210-10519-1-git-send-email-acme@kernel.org> <551D08F8.3040706@intel.com> <20150402141542.GA9630@kernel.org> In-Reply-To: <20150402141542.GA9630@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 2/04/2015 5:15 p.m., Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 02, 2015 at 12:16:40PM +0300, Adrian Hunter escreveu: >> On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote: >>> Hi David, Jiri, >>> >>> Please take a look if it is ok for you guys >>> >>> Adrian, there is another thing: >>> >>> db_export__sample(&tables->dbe, event, sample, evsel, al->thread, al); >>> >>> In tools/perf/util/scripting-engines/trace-event-python.c has this redundancy >>> as well, see the (al->thread, al), I'll probably remove that extra thread parm >> >> Yes please remove it too. >> >>> there if you don't have any other subtle use for that... >> >> Nope > > Ok, adding it as below, with your Acked-by, there is the one at the > bottom too, i.s. struct export_sample doesn't need a ->thread field, > same reason, if you are ok with that too, will add your Acked-by. Yes that also looks fine.