Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #65751
| From | Benjamin Poirier <benjamin.poirier@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#944641: linux-perf-4.19: Many "perf script" scripts do not work because they lack python3 support |
| Date | 2019-11-13 08:50 +0100 |
| Message-ID | <z1Vzz-81-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Package: linux-perf-4.19
Version: 4.19.67-2+deb10u2
Severity: normal
Tags: upstream
perf embeds a python interpreter and the debian linux source package has
debian/rules.d/tools/perf/Makefile:MAKE_PERF += PYTHON=/usr/bin/python3
However, many of the scripts in tools/perf/scripts/python, executed via `perf
script [...]`, did not support python3 in the 4.19 release.
For example:
root@vdebian:~# perf script net_dropmonitor
File "/usr/lib/perf_4.19-core/scripts/python/net_dropmonitor.py", line 53
print "%25s %25s %25s" % ("LOCATION", "OFFSET", "COUNT")
^
SyntaxError: invalid syntax
Error running python script /usr/lib/perf_4.19-core/scripts/python/net_dropmonitor.py
---
This issue was fixed upstream in the following series:
02b03ec383e0 perf script python: Add Python3 support to netdev-times.py
9b2700efc57f perf script python: Add Python3 support to failed-syscalls-by-pid.py
e4d053ddb4c4 perf script python: Add Python3 support to mem-phys-addr.py
8c42b9600e56 perf script python: Add Python3 support to net_dropmonitor.py
118af5bf799b perf script python: Add Python3 support to powerpc-hcalls.py
ee75a896ae53 perf script python: Add Python3 support to sctop.py
6d22d9991cf3 perf script python: Add Python3 support to stackcollapse.py
e985bf761db7 perf script python: Add Python3 support to stat-cpi.py
1d1b0dbb859d perf script python: Add Python3 support to syscall-counts.py
de667cce7f4f perf script python: Add Python3 support to syscall-counts-by-pid.py
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#944641: linux-perf-4.19: Many "perf script" scripts do not work because they lack python3 support Benjamin Poirier <benjamin.poirier@gmail.com> - 2019-11-13 08:50 +0100
csiph-web