diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-05 17:40:57 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-10-08 14:30:44 -0300 |
commit | e13a5d69c31d35538e80176d54d95b6addf4dcbf (patch) | |
tree | 7b668b300c6aa3d86f117e606621365372ab4923 /tools/perf/util/llvm-utils.h | |
parent | 1e44224fb0528b4c0cc176bde2bb31e9127eb14b (diff) |
perf python: Make clang_has_option() work on Python 3
Use a bytes literal so it works with Python 3's version of Popen().
Note that the b"..." syntax requires Python 2.6+.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20181005204058.7966-2-ehabkost@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/llvm-utils.h')
0 files changed, 0 insertions, 0 deletions