linux/tools/lib/api
David Carrillo-Cisneros 3866058ef1 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 <davidcc@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Paul Turner <pjt@google.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170827075442.108534-5-davidcc@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-08-28 16:44:46 -03:00
..
fd tools lib fd array: Allow associating a pointer cookie with each entry 2016-07-15 17:27:46 -03:00
fs tools lib api fs: Add sysfs__write_int function 2017-06-21 11:35:27 -03:00
Build tools lib api: Add str_error_c to libapi 2016-07-27 17:16:43 -03:00
cpu.c tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
cpu.h tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
debug-internal.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.c tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
Makefile perf tools: Robustify detection of clang binary 2017-08-28 16:44:46 -03:00