Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1732005imm; Thu, 12 Jul 2018 07:01:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd9fPAMrVtpMS38WZBJp++EhSAnjwhQdyoWJLkOE6nDT+BwS7l///pRAShS6VdP/FaxVl3b X-Received: by 2002:a63:e001:: with SMTP id e1-v6mr2239443pgh.380.1531404084490; Thu, 12 Jul 2018 07:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531404084; cv=none; d=google.com; s=arc-20160816; b=gNDBSB2Y1EmQ+7KFsXBLsyqAyns9aX1gFLdF/jywGg5XXvfGLj1Q1rwE0fB/yCDNk0 siOk4lJrIBdzI7DB3hJ5GSp9Pa6zVQ8ifciYUp13qFP6zBwtKLIxC6jWg8U/CewBT8+y v3o8t8cZYTGQx3rDGw8lSEPLxak1D4yh0sbuANe+6tbEYBdqxjuqfbmoLBElm+wo5M4+ oP2T2+PSTjzOdlmcstjncfq7a88yIXKoDVNzB08obnVaHSKNFV9qug2/4jDi4+Z4I5bH o4GyOkowKn1LDJaaAyMFJ59DXU8gmEzjn3dh3I8xjuR3Y4SanTxlrs0Wg0XkH2aJcCdG I/Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=6uAFSNIG+iMVE92MoLjXTLluQFKSd9+uejDOpyiz4OA=; b=zdTTRz1IIXS7uyUOZ99hOxEyt2ZEIAgHWciDdqHz8xlSfWqkmbAZmPPygbukdWvLWI j1FDtWibHKgnwlbv/4DVGHQNQemHVhDmUoSEBNrzcBPovaqLqHmyCOGgNVBN1Fa6hPng xg65AEuY+eQenL6duEVK4o0Otu2f/I/pLKdRnwcTEL0xJ2lU91K8m/zw6TyCQEmrxMkc VCbm96QyM+adVHFD3b1YEc/shpf7dJhZ/dVJCzKZmFZOHshG4F8UWisoYAf4X6Yy7zfT ZsCJnQgNRATzXibGN/Mj+dDVQw33wjbut4yLlxr3GR/iRq/bJpe3KqJGE0Okj2AjYvkn CPVg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22-v6si21064482plp.294.2018.07.12.07.01.07; Thu, 12 Jul 2018 07:01:24 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732560AbeGLOJy (ORCPT + 99 others); Thu, 12 Jul 2018 10:09:54 -0400 Received: from terminus.zytor.com ([198.137.202.136]:41799 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732402AbeGLOJx (ORCPT ); Thu, 12 Jul 2018 10:09:53 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w6CDwq1o3934315 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 12 Jul 2018 06:58:52 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w6CDwqNX3934312; Thu, 12 Jul 2018 06:58:52 -0700 Date: Thu, 12 Jul 2018 06:58:52 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Jeremy Cline Message-ID: Cc: jolsa@redhat.com, tglx@linutronix.de, alexander.shishkin@linux.intel.com, peterz@infradead.org, mingo@kernel.org, acme@redhat.com, hpa@zytor.com, herton@redhat.com, jeremy@jcline.org, linux-kernel@vger.kernel.org, namhyung@kernel.org Reply-To: namhyung@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, acme@redhat.com, herton@redhat.com, jeremy@jcline.org, mingo@kernel.org, peterz@infradead.org, alexander.shishkin@linux.intel.com, tglx@linutronix.de, jolsa@redhat.com In-Reply-To: <0100016341a72d26-75729663-fe55-4309-8c9b-302e065ed2f1-000000@email.amazonses.com> References: <0100016341a72d26-75729663-fe55-4309-8c9b-302e065ed2f1-000000@email.amazonses.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf scripts python: Add Python 3 support to SchedGui.py Git-Commit-ID: 2ab89262ff8895b8476b97345507c676fe3081fa X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 2ab89262ff8895b8476b97345507c676fe3081fa Gitweb: https://git.kernel.org/tip/2ab89262ff8895b8476b97345507c676fe3081fa Author: Jeremy Cline AuthorDate: Tue, 8 May 2018 21:27:45 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 Jul 2018 10:01:50 -0300 perf scripts python: Add Python 3 support to SchedGui.py Fix a single syntax error in SchedGui.py to support both Python 2 and Python 3. This should have no functional change. Signed-off-by: Jeremy Cline Cc: Alexander Shishkin Cc: Herton Krzesinski Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/0100016341a72d26-75729663-fe55-4309-8c9b-302e065ed2f1-000000@email.amazonses.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py index fdd92f699055..cac7b2542ee8 100644 --- a/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py +++ b/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py @@ -11,7 +11,7 @@ try: import wx except ImportError: - raise ImportError, "You need to install the wxpython lib for this script" + raise ImportError("You need to install the wxpython lib for this script") class RootFrame(wx.Frame):