[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190204151042.GH5593@kernel.org>
Date: Mon, 4 Feb 2019 12:10:42 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Tony Jones <tonyj@...e.de>,
Ravi Bangoria <ravi.bangoria@...ux.ibm.com>,
Seeteena Thoufeek <s1seetee@...ux.vnet.ibm.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: perf: python3 + tests attr.py failing
Noticed this now when building with PYTHON=python3, can you take a look?
For now I'm reinstalling python2-devel and building with it, i.e.
removing that PYTHON=python3 make command line variable.
[root@...co ~]# perf test -v perf_event_attr
16: Setup struct perf_event_attr :
--- start ---
test child forked, pid 23937
File "/home/acme/libexec/perf-core/tests/attr.py", line 325
except Unsup, obj:
^
SyntaxError: invalid syntax
test child finished with -1
---- end ----
Setup struct perf_event_attr: FAILED!
[root@...co ~]# find
Reverting back to building with python2-devel makes it work:
make O=/tmp/build/perf -C tools/perf install-bin
[acme@...co perf]$ ldd ~/bin/perf | grep python
libpython2.7.so.1.0 => /lib64/libpython2.7.so.1.0 (0x00007fe283792000)
[acme@...co perf]$
[root@...co ~]# perf test perf_event_attr
16: Setup struct perf_event_attr : Ok
[root@...co ~]#
- Arnaldo
Powered by blists - more mailing lists