Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf config: Rename to HAVE_DWARF_GETLOCATIONS_SUPPORT

In Makefile.config, to make all libraries flags have _SUPPORT suffix,
rename HAVE_DWARF_GETLOCATIONS to HAVE_DWARF_GETLOCATIONS_SUPPORT

Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Suggested-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1522402036-22915-4-git-send-email-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Jin Yao and committed by
Arnaldo Carvalho de Melo
a36ebe4e 8e2c241f

+2 -2
+1 -1
tools/perf/Makefile.config
··· 346 346 ifneq ($(feature-dwarf_getlocations), 1) 347 347 msg := $(warning Old libdw.h, finding variables at given 'perf probe' point will not work, install elfutils-devel/libdw-dev >= 0.157); 348 348 else 349 - CFLAGS += -DHAVE_DWARF_GETLOCATIONS 349 + CFLAGS += -DHAVE_DWARF_GETLOCATIONS_SUPPORT 350 350 endif # dwarf_getlocations 351 351 endif # Dwarf support 352 352 endif # libelf support
+1 -1
tools/perf/util/dwarf-aux.c
··· 979 979 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); 980 980 } 981 981 982 - #ifdef HAVE_DWARF_GETLOCATIONS 982 + #ifdef HAVE_DWARF_GETLOCATIONS_SUPPORT 983 983 /** 984 984 * die_get_var_innermost_scope - Get innermost scope range of given variable DIE 985 985 * @sp_die: a subprogram DIE