diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-02-15 12:19:11 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-02-15 12:19:11 +0300 |
commit | 43f4e6279f05eefac058a3524e184cecae463bfe (patch) | |
tree | a29a7fe7e0f187fd7eecc3bbf3dc4daee3fddc14 /tools/perf/Makefile.config | |
parent | 02106f883cd745523f7766d90a739f983f19e650 (diff) | |
parent | 44ec8396e2dadf0f0806767642cfac9e04d0d5b1 (diff) | |
download | linux-43f4e6279f05eefac058a3524e184cecae463bfe.tar.xz |
Merge tag 'perf-core-for-mingo-5.1-20190214' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
perf list:
Jiri Olsa:
- Display metric expressions for --details option
perf record:
Alexey Budankov:
- Implement --affinity=node|cpu option, leftover, the other patches
in this kit were already applied.
perf trace:
Arnaldo Carvalho de Melo:
- Fix segfaults due to not properly handling negative file descriptor syscall args.
- Fix segfault related to the 'waitid' 'options' prefix showing logic.
- Filter out 'gnome-terminal*' if it is a parent of 'perf trace', to reduce the
syscall feedback loop in system wide sessions.
BPF:
Song Liu:
- Silence "Couldn't synthesize bpf events" warning for EPERM.
Build system:
Arnaldo Carvalho de Melo:
- Fix the test-all.c feature detection fast path that was broken for
quite a while leading to longer build times.
Event parsing:
Jiri Olsa:
- Fix legacy events symbol separator parsing
cs-etm:
Mathieu Poirier:
- Fix some error path return errors and plug some memory leaks.
- Add proper header file for symbols
- Remove unused structure fields.
- Modularize auxtrace_buffer fetch, decoder and packet processing loop.
Vendor events:
Paul Clarke:
- Add assorted metrics for the Power8 and Power9 architectures.
perf report:
Thomas Richter:
- Add s390 diagnostic sampling descriptor size
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/Makefile.config')
-rw-r--r-- | tools/perf/Makefile.config | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index b441c88cafa1..0f11d5891301 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -109,6 +109,13 @@ FEATURE_CHECK_LDFLAGS-libunwind = $(LIBUNWIND_LDFLAGS) $(LIBUNWIND_LIBS) FEATURE_CHECK_CFLAGS-libunwind-debug-frame = $(LIBUNWIND_CFLAGS) FEATURE_CHECK_LDFLAGS-libunwind-debug-frame = $(LIBUNWIND_LDFLAGS) $(LIBUNWIND_LIBS) +FEATURE_CHECK_LDFLAGS-libunwind-arm = -lunwind -lunwind-arm +FEATURE_CHECK_LDFLAGS-libunwind-aarch64 = -lunwind -lunwind-aarch64 +FEATURE_CHECK_LDFLAGS-libunwind-x86 = -lunwind -llzma -lunwind-x86 +FEATURE_CHECK_LDFLAGS-libunwind-x86_64 = -lunwind -llzma -lunwind-x86_64 + +FEATURE_CHECK_LDFLAGS-libcrypto = -lcrypto + ifdef CSINCLUDES LIBOPENCSD_CFLAGS := -I$(CSINCLUDES) endif @@ -218,6 +225,8 @@ FEATURE_CHECK_LDFLAGS-libpython := $(PYTHON_EMBED_LDOPTS) FEATURE_CHECK_CFLAGS-libpython-version := $(PYTHON_EMBED_CCOPTS) FEATURE_CHECK_LDFLAGS-libpython-version := $(PYTHON_EMBED_LDOPTS) +FEATURE_CHECK_LDFLAGS-libaio = -lrt + CFLAGS += -fno-omit-frame-pointer CFLAGS += -ggdb3 CFLAGS += -funwind-tables @@ -386,7 +395,8 @@ ifeq ($(feature-setns), 1) $(call detected,CONFIG_SETNS) endif -ifndef NO_CORESIGHT +ifdef CORESIGHT + $(call feature_check,libopencsd) ifeq ($(feature-libopencsd), 1) CFLAGS += -DHAVE_CSTRACE_SUPPORT $(LIBOPENCSD_CFLAGS) LDFLAGS += $(LIBOPENCSD_LDFLAGS) @@ -482,6 +492,7 @@ endif ifndef NO_LIBUNWIND have_libunwind := + $(call feature_check,libunwind-x86) ifeq ($(feature-libunwind-x86), 1) $(call detected,CONFIG_LIBUNWIND_X86) CFLAGS += -DHAVE_LIBUNWIND_X86_SUPPORT @@ -490,6 +501,7 @@ ifndef NO_LIBUNWIND have_libunwind = 1 endif + $(call feature_check,libunwind-aarch64) ifeq ($(feature-libunwind-aarch64), 1) $(call detected,CONFIG_LIBUNWIND_AARCH64) CFLAGS += -DHAVE_LIBUNWIND_AARCH64_SUPPORT |