]> asedeno.scripts.mit.edu Git - linux.git/commit
perf python: Make sure the python binding output directory is in place
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 3 Jan 2019 19:03:46 +0000 (16:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Jan 2019 15:55:24 +0000 (12:55 -0300)
commitf712a86c1406abf50b0dcff0500c723e2aca050a
tree77cd92397cbd34a363f64d86fb27701d9cf3fece
parent099be748865eece21362aee416c350c0b1ae34df
perf python: Make sure the python binding output directory is in place

Instead of doing an unconditional mkdir, use a dummy Makefile variable
to check if the directory is there and if not, create it.

This is better than what we had and will help with other python bindings
that are in development, like one involved with python backtraces.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-iis6us2nocw3y4uuoon9osd7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf