Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3158142imb; Tue, 5 Mar 2019 02:20:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwW82gs+voy2O9V69JYe2lTXk5nyJEZKwPmENaUUecHxOursxeC2Ih8B9oer75q0VS0FApn X-Received: by 2002:aa7:918b:: with SMTP id x11mr1158907pfa.228.1551781217664; Tue, 05 Mar 2019 02:20:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551781217; cv=none; d=google.com; s=arc-20160816; b=N2o7sUlZqFNqCgKsKqckS4kzzFCj86K2QLqiWW7cF+AUhVPkEGkBNjh84j/otCkzGF y4Iwhka3HXsEQJwtx6eR1BBhrE8Bu8LofIimdzM2uo1i/pBreeFK8T17+HMVnAHGUUgg e9jRX4Qq+tMbN06095WBqOl+e3L02GvTQ2w4X/H7huTsI9Ti3Us01J74jHrxPEzP2KCt neh4/OjabKKE+SWVbr/iEavqCvsGa4BSsgAFwlEVZJrAMOrHzCg3QO19PuakysUFM6cb bn7CqshANu+UebpNG8NsB02Z9BMLGxnWMlXAwNn6NIKR6UrXT2qGDj4ULqDv4bNpfgdO vh/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=ZfnfUMcVM2Ym5+OcaQU2XP6YiFiwZN/o4fX8mP9tJow=; b=l90HBPXVeQ+8C8iK7nikUMU73zBjAb9MC3rT8YwBqjy6VzwR/G5F0XZMNSR77d3Pd+ Rlur56m9asvxxAAz5xkl7gytmCSEQ4azyaP3N5BCMFoCWSgWpXv7lYhBop8bvY5M1mmy EyFLhhimgqsmsuWVcrGsIEddTnkM9aJTe53CDEbn/A2DxAYa56DeUmaYOQ/z+I/YU+0n FbuMGAakU6kPswVMikH1gTzo5ujeo86+wQRdGSbTQ0CrCxlTWx4JLczQJE6oKTJQK3XG VOYkG40QIMW8dBjKAIKTw8tfWSjMqYr/FXy3HjzuApIcHk62QdxKRorBdY/9Dwc+Zihf AXuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u17si7583633pgh.487.2019.03.05.02.20.01; Tue, 05 Mar 2019 02:20:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727435AbfCEJ5Y (ORCPT + 99 others); Tue, 5 Mar 2019 04:57:24 -0500 Received: from mga01.intel.com ([192.55.52.88]:33618 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbfCEJ5X (ORCPT ); Tue, 5 Mar 2019 04:57:23 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2019 01:57:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,443,1544515200"; d="scan'208";a="138167920" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.56]) ([10.237.72.56]) by FMSMGA003.fm.intel.com with ESMTP; 05 Mar 2019 01:57:20 -0800 Subject: Re: [PATCH v2 0/7] perf script python: add Python3 support To: Tony Jones , linux-kernel@vger.kernel.org Cc: acme@kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Feng Tang , Tom Zanussi , Seeteena Thoufeek References: <20190302011903.2416-1-tonyj@suse.de> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Tue, 5 Mar 2019 11:55:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190302011903.2416-1-tonyj@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/03/19 3:18 AM, Tony Jones wrote: > This is v2 of my version of the patchset. Incorporating the > previous feedback. Some changes from v1 were already merged. > > Patch 1/7 deals with the existing inconsistent indentation. > Indentation is now consistent per file but varying styles (tabs, > 4 spaces and 8 spaces). > I will followup at a later date with changes to checkpatch to ensure > that the syntax per file is maintained. > > Patches 2/7 through 5/7 were sent in v1, they have been changed > to remove the previous indentation changes > > Patch 6/7 was sent in v1. I had previously *not* been able to test > export-to-postgresql.py. I was able to do so this time and found > that more changes were needed. The author of the original code > seems concerned about code-style so I would suggest you only merge > with his explicit ACK. > > Patch 7/7 was not in v1, it cleans up some repeated use of date > functions in the SQL exporters. It is not mandatory for Python3 > support. It is dependent on Patch#6. > > I hope I've got everything correct, I've retested until I feel I > can't look at Python code anymore for a while :-). Hopefully I've > not made any more mistakes. If I have, please LMK and I'll do v3. perf tools link against python2 so have the scripts been tested with python3? $ ldd tools/perf/perf | grep python libpython2.7.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 (0x00007ff8a2de2000)