lkml.org 
[lkml]   [2015]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:perf/core] perf build: Rename display_lib into feature_display
Commit-ID:  48e383eca276c02d4bd5c5b468b07b73ca52dd08
Gitweb: http://git.kernel.org/tip/48e383eca276c02d4bd5c5b468b07b73ca52dd08
Author: Jiri Olsa <jolsa@kernel.org>
AuthorDate: Sun, 1 Mar 2015 20:46:28 +0100
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 18 Mar 2015 15:09:25 -0300

perf build: Rename display_lib into feature_display

Preparing for feature checks separation, moving related stuff under
'feature*' namespace.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <david.ahern@oracle.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-t72o4nwx81owjv14y43b2wpf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/config/Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 198609e..f80fc7e 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -793,7 +793,7 @@ ifeq ($(dwarf-post-unwind),1)
PERF_FEATURES += dwarf-post-unwind($(dwarf-post-unwind-text))
endif

-# The $(display_lib) controls the default detection message
+# The $(feature_display) controls the default detection message
# output. It's set if:
# - detected features differes from stored features from
# last build (in PERF-FEATURES file)
@@ -802,24 +802,24 @@ endif

ifneq ("$(PERF_FEATURES)","$(PERF_FEATURES_FILE)")
$(shell echo "$(PERF_FEATURES)" > $(OUTPUT)PERF-FEATURES)
- display_lib := 1
+ feature_display := 1
endif

feature_check = $(eval $(feature_check_code))
define feature_check_code
ifneq ($(feature-$(1)), 1)
- display_lib := 1
+ feature_display := 1
endif
endef

$(foreach feat,$(FEATURE_DISPLAY),$(call feature_check,$(feat)))

ifeq ($(VF),1)
- display_lib := 1
+ feature_display := 1
display_vf := 1
endif

-ifeq ($(display_lib),1)
+ifeq ($(feature_display),1)
$(info )
$(info Auto-detecting system features:)
$(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
@@ -841,7 +841,7 @@ ifeq ($(display_vf),1)
$(call feature_print_var,LIBDW_DIR)
endif

-ifeq ($(display_lib),1)
+ifeq ($(feature_display),1)
$(info )
endif


\
 
 \ /
  Last update: 2015-03-22 11:21    [W:0.034 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site