lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 12 Nov 2019 19:22:20 +0800
From:   Xiao Yang <ice_yangxiao@....com>
To:     ak@...ux.intel.com
Cc:     acme@...nel.org, jolsa@...hat.com, peterz@...radead.org,
        linux-kernel@...r.kernel.org, Xiao Yang <ice_yangxiao@....com>,
        kernel test robot <lkp@...el.com>
Subject: [PATCH] perf tools: Add missing util/affinity.c to util/python-ext-sources

util/evlist.c added into perf python extension module uses affinity
functions since commit 54b16df58e65 so we should also add util/affinity.c
into the extension module to fix the following issue:
-----------------------------------------------
./perf test -v python
18: 'import perf' in python :
--- start ---
test child forked, pid 15979
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: python/perf.so: undefined symbol: affinity__cleanup
test child finished with -1
---- end ----
'import perf' in python: FAILED!
-----------------------------------------------

Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Xiao Yang <ice_yangxiao@....com>
---
 tools/perf/util/python-ext-sources | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/python-ext-sources b/tools/perf/util/python-ext-sources
index 9af183860fbd..521aaa9928cf 100644
--- a/tools/perf/util/python-ext-sources
+++ b/tools/perf/util/python-ext-sources
@@ -7,6 +7,7 @@
 
 util/python.c
 ../lib/ctype.c
+util/affinity.c
 util/cap.c
 util/evlist.c
 util/evsel.c
-- 
2.21.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ