diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-09-30 06:07:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 02:48:28 -0400 |
commit | 89fe808ae777728da6e1d78b7d13562792310d17 (patch) | |
tree | fd8771bb2e99e0801fbb16b742c4d425ee4f2bda /tools/perf/util/hist.h | |
parent | 429eb051011a580beae2dc9f8caed5dade9591dc (diff) |
tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT
Standardize all the feature flags based on the HAVE_{FEATURE}_SUPPORT naming convention:
HAVE_ARCH_X86_64_SUPPORT
HAVE_BACKTRACE_SUPPORT
HAVE_CPLUS_DEMANGLE_SUPPORT
HAVE_DWARF_SUPPORT
HAVE_ELF_GETPHDRNUM_SUPPORT
HAVE_GTK2_SUPPORT
HAVE_GTK_INFO_BAR_SUPPORT
HAVE_LIBAUDIT_SUPPORT
HAVE_LIBELF_MMAP_SUPPORT
HAVE_LIBELF_SUPPORT
HAVE_LIBNUMA_SUPPORT
HAVE_LIBUNWIND_SUPPORT
HAVE_ON_EXIT_SUPPORT
HAVE_PERF_REGS_SUPPORT
HAVE_SLANG_SUPPORT
HAVE_STRLCPY_SUPPORT
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-u3zvqejddfZhtrbYbfhi3spa@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r-- | tools/perf/util/hist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index 6a048c09cd64..ed4f90ebe0d5 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h | |||
@@ -187,7 +187,7 @@ struct hist_browser_timer { | |||
187 | int refresh; | 187 | int refresh; |
188 | }; | 188 | }; |
189 | 189 | ||
190 | #ifdef SLANG_SUPPORT | 190 | #ifdef HAVE_SLANG_SUPPORT |
191 | #include "../ui/keysyms.h" | 191 | #include "../ui/keysyms.h" |
192 | int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, | 192 | int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, |
193 | struct hist_browser_timer *hbt); | 193 | struct hist_browser_timer *hbt); |
@@ -228,7 +228,7 @@ static inline int script_browse(const char *script_opt __maybe_unused) | |||
228 | #define K_SWITCH_INPUT_DATA -3000 | 228 | #define K_SWITCH_INPUT_DATA -3000 |
229 | #endif | 229 | #endif |
230 | 230 | ||
231 | #ifdef GTK2_SUPPORT | 231 | #ifdef HAVE_GTK2_SUPPORT |
232 | int perf_evlist__gtk_browse_hists(struct perf_evlist *evlist, const char *help, | 232 | int perf_evlist__gtk_browse_hists(struct perf_evlist *evlist, const char *help, |
233 | struct hist_browser_timer *hbt __maybe_unused, | 233 | struct hist_browser_timer *hbt __maybe_unused, |
234 | float min_pcnt); | 234 | float min_pcnt); |