[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fef55746-9ea1-15a8-b978-6a02e55e19d1@suse.de>
Date: Fri, 18 Jan 2019 16:59:12 -0800
From: Tony Jones <tonyj@...e.de>
To: Seeteena Thoufeek <s1seetee@...ux.vnet.ibm.com>,
peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] perf scripts python: Add Python 3 support to
check-perf-trace.py
On 1/17/19 1:45 AM, Seeteena Thoufeek wrote:
> - print "vec=%s\n" % \
> - (symbol_str("irq__softirq_entry", "vec", vec)),
> + print("vec=%s\n" % \
> + (symbol_str("irq__softirq_entry", "vec", vec))),
Again, check the trailing comma usage:
$ echo 'print "abc", ; print "def"' | python2
abc def
$ echo 'print ("abc"), ; print ("def")' | python2
abc def
$ echo 'print ("abc"), ; print ("def")' | python3
abc
def
Powered by blists - more mailing lists