diff options
author | David Carrillo-Cisneros <[email protected]> | 2017-08-27 00:54:40 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-28 16:44:46 -0300 |
commit | 3866058ef15b6ae6f4ff48e088428b46bcc43fa1 (patch) | |
tree | 821ab268db308660fd5aaf91b47103e8316df132 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 12024aacb0170779cd0b976b06d2e9b1767cf142 (diff) |
perf tools: Robustify detection of clang binary
Prior to this patch, make scripts tested for CLANG with ifeq ($(CC),
clang), failing to detect CLANG binaries with different names. Fix it by
testing for the existence of __clang__ macro in the list of compiler
defined macros.
Signed-off-by: David Carrillo-Cisneros <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions