]> Git Repo - linux.git/commitdiff
perf python: Include rwsem.c in the pythong biding
authorArnaldo Carvalho de Melo <[email protected]>
Fri, 3 Apr 2020 12:29:52 +0000 (09:29 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 3 Apr 2020 12:37:55 +0000 (09:37 -0300)
We'll need it for the cgroup patches, and its better to have it in a
separate patch in case we need to later revert the cgroup patches.

I.e. without this we have:

  [root@five ~]# perf test -v python
  19: 'import perf' in python                               :
  --- start ---
  test child forked, pid 148447
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  ImportError: /tmp/build/perf/python/perf.cpython-37m-x86_64-linux-gnu.so: undefined symbol: down_write
  test child finished with -1
  ---- end ----
  'import perf' in python: FAILED!
  [root@five ~]#

Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/python-ext-sources

index e7279ea6043aed2390065cb3ea03200400e3ac7f..a9d9c142eb7c3c1e86610e0ff7d55c7d1df765c3 100644 (file)
@@ -34,3 +34,4 @@ util/string.c
 util/symbol_fprintf.c
 util/units.c
 util/affinity.c
+util/rwsem.c
This page took 0.05579 seconds and 4 git commands to generate.