• Arnaldo Carvalho de Melo's avatar
    perf python: Don't stop building if python setuptools isn't installed · 66dfc517
    Arnaldo Carvalho de Melo authored
    The python3-setuptools package is needed to build the python binding, so
    that one can use things like:
    
      # ~acme/git/perf/tools/perf/python/twatch.py
      cpu: 6, pid: 4573, tid: 2184618 { type: exit, pid: 4573, ppid: 4172, tid: 2184618, ptid: 4172, time: 12563190090107}
      cpu: 24, pid: 4573, tid: 4573 { type: fork, pid: 4573, ppid: 4573, tid: 2190991e, ptid: 4573, time: 12563415289331}
      cpu: 29, pid: 4573, tid: 2190991e { type: comm, pid: 4573, tid: 2190991e, comm: StreamT~ns #401 }
      cpu: 29, pid: 4573, tid: 2190991e { type: comm, pid: 4573, tid: 2190991e, comm: StreamT~ns #401 }
      ^CTraceback (most recent call last):
        File "/var/home/acme/git/perf/tools/perf/python/twatch.py", line 61, in <module>
          main()
        File "/var/home/acme/git/perf/tools/perf/python/twatch.py", line 33, in main
          evlist.poll(timeout = -1)
      KeyboardInterrupt
    
      #
    
    That have 'import perf;'.
    
    But distros don't always have that python3-setuptools (or equiva...
    66dfc517
Makefile.config 42.4 KB