Re: perf install-python_ext installing .o files in python site-packages

From: Jiri Olsa
Date: Fri Feb 26 2016 - 17:59:16 EST


On Fri, Feb 26, 2016 at 05:49:02PM -0500, Josh Boyer wrote:

SNIP

> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/evsel.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/trace-event.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/xyarray.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/python.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/ctype.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/cgroup.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/rblist.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/perf/util/string.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/lib
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/lib/hweight.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/lib/rbtree.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/lib/bitmap.o
> > ./python_ext_build/tmp/home/jolsa/kernel/linux-perf/tools/lib/find_bit.o
> >
> > not sure we want to come up with some 'nicer' solution
>
> I don't think anything under python_ext_build/tmp/ actually matters in
> any significant way. As long as this doesn't negatively impact
> something via side-effect, it's probably good enough.

right, and it's probably generic sollution too

>
> Will you write up a full patch?

yep, will post it tomorrow

jirka