diff options
Diffstat (limited to 'recipes-kernel/linux')
23 files changed, 0 insertions, 330 deletions
diff --git a/recipes-kernel/linux/files/0001-libtraceevent-Remove-hard-coded-include-to-usr-local.patch b/recipes-kernel/linux/files/0001-libtraceevent-Remove-hard-coded-include-to-usr-local.patch deleted file mode 100644 index c11ead3..0000000 --- a/recipes-kernel/linux/files/0001-libtraceevent-Remove-hard-coded-include-to-usr-local.patch +++ /dev/null @@ -1,37 +0,0 @@ -From b9e8c37220c80e78289a1e87b50c09418eb59a7e Mon Sep 17 00:00:00 2001 -From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> -Date: Fri, 8 Mar 2013 11:21:52 +0000 -Subject: [PATCH] libtraceevent: Remove hard coded include to - /usr/local/include in Makefile - -having /usr/local/include hardcoded into the makefile is not necessary -as this is automatically included by GCC. It also infects cross-compile -builds with the host systems includes. - -Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> -Acked-by: Namhyung Kim <namhyung@kernel.org> -Cc: Ingo Molnar <mingo@redhat.com> -Cc: Paul Mackerras <paulus@samba.org> -Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> -Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk -Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> ---- - tools/lib/traceevent/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile -index a20e320..0b0a907 100644 ---- a/tools/lib/traceevent/Makefile -+++ b/tools/lib/traceevent/Makefile -@@ -122,7 +122,7 @@ export Q VERBOSE - - EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) - --INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) -+INCLUDES = -I. $(CONFIG_INCLUDES) - - # Set compile option CFLAGS if not set elsewhere - CFLAGS ?= -g -Wall --- -1.8.5.3 - diff --git a/recipes-kernel/linux/files/clanton-standard.scc b/recipes-kernel/linux/files/clanton-standard.scc deleted file mode 100644 index 6ca5944..0000000 --- a/recipes-kernel/linux/files/clanton-standard.scc +++ /dev/null @@ -1,11 +0,0 @@ -define KMACHINE clanton -define KTYPE standard -define KARCH i386 - -kconf hardware quark.cfg - -include features/latencytop.scc -include features/lttng.scc -include features/oprofile.scc -include features/perf.scc -include features/powertop.scc diff --git a/recipes-kernel/linux/files/features/ftrace/ftrace.cfg b/recipes-kernel/linux/files/features/ftrace/ftrace.cfg deleted file mode 100644 index c22328d..0000000 --- a/recipes-kernel/linux/files/features/ftrace/ftrace.cfg +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_FTRACE=y -CONFIG_FUNCTION_TRACER=y -CONFIG_FUNCTION_GRAPH_TRACER=y -CONFIG_FTRACE_SYSCALLS=y diff --git a/recipes-kernel/linux/files/features/ftrace/ftrace.scc b/recipes-kernel/linux/files/features/ftrace/ftrace.scc deleted file mode 100644 index decfbc4..0000000 --- a/recipes-kernel/linux/files/features/ftrace/ftrace.scc +++ /dev/null @@ -1,4 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable Function Tracer" -define KFEATURE_COMPATIBILITY all - -kconf non-hardware ftrace.cfg diff --git a/recipes-kernel/linux/files/features/latencytop/latencytop.cfg b/recipes-kernel/linux/files/features/latencytop/latencytop.cfg deleted file mode 100644 index 0a42694..0000000 --- a/recipes-kernel/linux/files/features/latencytop/latencytop.cfg +++ /dev/null @@ -1 +0,0 @@ -CONFIG_LATENCYTOP=y diff --git a/recipes-kernel/linux/files/features/latencytop/latencytop.scc b/recipes-kernel/linux/files/features/latencytop/latencytop.scc deleted file mode 100644 index 923b5d9..0000000 --- a/recipes-kernel/linux/files/features/latencytop/latencytop.scc +++ /dev/null @@ -1,4 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable latencytop" -define KFEATURE_COMPATIBILITY arch - -kconf non-hardware latencytop.cfg diff --git a/recipes-kernel/linux/files/features/lttng/lttng.cfg b/recipes-kernel/linux/files/features/lttng/lttng.cfg deleted file mode 100644 index 510725c..0000000 --- a/recipes-kernel/linux/files/features/lttng/lttng.cfg +++ /dev/null @@ -1 +0,0 @@ -CONFIG_TRACEPOINTS=y diff --git a/recipes-kernel/linux/files/features/lttng/lttng.scc b/recipes-kernel/linux/files/features/lttng/lttng.scc deleted file mode 100644 index cf0bae9..0000000 --- a/recipes-kernel/linux/files/features/lttng/lttng.scc +++ /dev/null @@ -1,7 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable lttng + ftrace" -define KFEATURE_COMPATIBILITY arch - -include features/ftrace/ftrace.scc - -kconf non-hardware lttng.cfg - diff --git a/recipes-kernel/linux/files/features/oprofile/oprofile.cfg b/recipes-kernel/linux/files/features/oprofile/oprofile.cfg deleted file mode 100644 index 4efd0d5..0000000 --- a/recipes-kernel/linux/files/features/oprofile/oprofile.cfg +++ /dev/null @@ -1 +0,0 @@ -CONFIG_OPROFILE=y diff --git a/recipes-kernel/linux/files/features/oprofile/oprofile.scc b/recipes-kernel/linux/files/features/oprofile/oprofile.scc deleted file mode 100644 index fa622eb..0000000 --- a/recipes-kernel/linux/files/features/oprofile/oprofile.scc +++ /dev/null @@ -1,6 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable latencytop" -define KFEATURE_COMPATIBILITY arch - -include features/profiling/profiling.scc - -kconf non-hardware oprofile.cfg diff --git a/recipes-kernel/linux/files/features/perf/perf-add-SLANG_INC-for-slang.h.patch b/recipes-kernel/linux/files/features/perf/perf-add-SLANG_INC-for-slang.h.patch deleted file mode 100644 index 4ae1300..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-add-SLANG_INC-for-slang.h.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a4c7a048fe3407e8eea0020db4a9c41d3feb8247 Mon Sep 17 00:00:00 2001 -From: Liang Li <liang.li@windriver.com> -Date: Wed, 22 Aug 2012 16:04:50 +0800 -Subject: [PATCH] perf: add SLANG_INC for slang.h - -CFLAGS was previously hard coded to contain "-I/usr/include/slang" to -work with hosts that have "/usr/include/slang/slang.h" as well as hosts -that have "/usr/include/slang.h". This path can cause compile warnings -like: - -cc1: warning: '/usr/include/slang' doesn't exists. - -or - -cc1: warning: include location "/usr/include/slang" is unsafe for -cross-compilation [-Wpoison-system-directories] - -Then in some cases warnings become errors if WERROR is enabled hence -build errors. - -To fix this issue, we can use -idirafter to downgrade the priority of the -default hard coded path. We can also make the slang include directory -a variable, to allow the user to specify SLANG_INC and set their own -include location. And add a '=' prefix to indicate better -compatibility with sysroot/cross compile cases. - -Signed-off-by: Liang Li <liang.li@windriver.com> -diff --git a/tools/perf/Makefile b/tools/perf/Makefile -index ffb31df..485c0f4 100644 ---- a/tools/perf/Makefile -+++ b/tools/perf/Makefile -@@ -562,9 +562,10 @@ ifndef NO_NEWT - ifneq ($(call try-cc,$(SOURCE_NEWT),$(FLAGS_NEWT)),y) - msg := $(warning newt not found, disables TUI support. Please install newt-devel or libnewt-dev); - else -- # Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h -- BASIC_CFLAGS += -I/usr/include/slang -+ # Some releases like Fedora has /usr/include/slang/slang.h other than /usr/include/slang.h -+ SLANG_INC ?= -idirafter =/usr/include/slang - BASIC_CFLAGS += -DNEWT_SUPPORT -+ BASIC_CFLAGS += $(SLANG_INC) - EXTLIBS += -lnewt -lslang - LIB_OBJS += $(OUTPUT)ui/setup.o - LIB_OBJS += $(OUTPUT)ui/browser.o diff --git a/recipes-kernel/linux/files/features/perf/perf-add-libperl-not-found-warning.patch b/recipes-kernel/linux/files/features/perf/perf-add-libperl-not-found-warning.patch deleted file mode 100644 index 799bc6c..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-add-libperl-not-found-warning.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 8ff1ab68ba2cb073c328fe540161080d146e0daf Mon Sep 17 00:00:00 2001 -From: Tom Zanussi <tom.zanussi@intel.com> -Date: Tue, 3 Jul 2012 13:07:22 -0500 -Subject: [PATCH 2/3] perf: add 'libperl not found' warning - -If libperl isn't found, display a message to that effect along with -some hints on how to fix it. - -Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> -diff --git a/tools/perf/Makefile b/tools/perf/Makefile -index cc3b54d..a22cee9 100644 ---- a/tools/perf/Makefile -+++ b/tools/perf/Makefile -@@ -694,6 +694,7 @@ else - FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS) - - ifneq ($(call try-cc,$(SOURCE_PERL_EMBED),$(FLAGS_PERL_EMBED),perl),y) -+ msg := $(warning libperl not found, disables Perl scripting support. Please install libperl-dev or perl-devel); - BASIC_CFLAGS += -DNO_LIBPERL - else - ALL_LDFLAGS += $(PERL_EMBED_LDFLAGS) diff --git a/recipes-kernel/linux/files/features/perf/perf-add-sgidefs.h-to-for-mips-builds.patch b/recipes-kernel/linux/files/features/perf/perf-add-sgidefs.h-to-for-mips-builds.patch deleted file mode 100644 index 700146f..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-add-sgidefs.h-to-for-mips-builds.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 6297e4c1d57e1063bfce297c2e12392348598559 Mon Sep 17 00:00:00 2001 -From: Tom Zanussi <tom.zanussi@intel.com> -Date: Tue, 10 Jul 2012 09:37:56 -0500 -Subject: [PATCH] perf: add sgidefs.h to for mips builds - -Allow Python.h to find the definitions it needs on mips i.e. get rid -of the error: "_ABIN32" is not defined. - -Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ---- - .../perf/scripts/python/Perf-Trace-Util/Context.c | 4 ++++ - .../util/scripting-engines/trace-event-python.c | 4 ++++ - 2 files changed, 8 insertions(+), 0 deletions(-) - -diff --git a/tools/perf/scripts/python/Perf-Trace-Util/Context.c b/tools/perf/scripts/python/Perf-Trace-Util/Context.c -index 315067b..57d3aa3 100644 ---- a/tools/perf/scripts/python/Perf-Trace-Util/Context.c -+++ b/tools/perf/scripts/python/Perf-Trace-Util/Context.c -@@ -19,6 +19,10 @@ - * - */ - -+#ifdef __mips__ -+#include <sgidefs.h> -+#endif -+ - #include <Python.h> - #include "../../../perf.h" - #include "../../../util/trace-event.h" -diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c -index c2623c6..1d52d7e 100644 ---- a/tools/perf/util/scripting-engines/trace-event-python.c -+++ b/tools/perf/util/scripting-engines/trace-event-python.c -@@ -19,6 +19,10 @@ - * - */ - -+#ifdef __mips__ -+#include <sgidefs.h> -+#endif -+ - #include <Python.h> - - #include <stdio.h> --- -1.7.5.4 - diff --git a/recipes-kernel/linux/files/features/perf/perf-annotate-replace-expand-with-equivalent-sed-exp.patch b/recipes-kernel/linux/files/features/perf/perf-annotate-replace-expand-with-equivalent-sed-exp.patch deleted file mode 100644 index dd807c0..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-annotate-replace-expand-with-equivalent-sed-exp.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 449f7f520350700858f21a5554b81cc8ad23267d Mon Sep 17 00:00:00 2001 -From: Tom Zanussi <tom.zanussi@intel.com> -Date: Fri, 5 Oct 2012 11:35:26 -0500 -Subject: [PATCH 2/2] perf annotate: replace 'expand' with equivalent sed - expression - -We don't have 'expand' in our userspace so we need to accomplish the -same thing using 'sed', which we do have. - -Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> -diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c -index f0a9103..6b7bef1 100644 ---- a/tools/perf/util/annotate.c -+++ b/tools/perf/util/annotate.c -@@ -823,7 +823,7 @@ fallback: - snprintf(command, sizeof(command), - "%s %s%s --start-address=0x%016" PRIx64 - " --stop-address=0x%016" PRIx64 -- " -d %s %s -C %s|grep -v %s|expand", -+ " -d %s %s -C %s|grep -v %s|sed 's/\t/ /g'", - objdump_path ? objdump_path : "objdump", - disassembler_style ? "-M " : "", - disassembler_style ? disassembler_style : "", diff --git a/recipes-kernel/linux/files/features/perf/perf-change-root-to-prefix-for-python-install.patch b/recipes-kernel/linux/files/features/perf/perf-change-root-to-prefix-for-python-install.patch deleted file mode 100644 index 4fdbd67..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-change-root-to-prefix-for-python-install.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 49f1599b2ce0288599805b5364b895f5a9febb3e Mon Sep 17 00:00:00 2001 -From: Tom Zanussi <tom.zanussi@intel.com> -Date: Tue, 3 Jul 2012 13:07:23 -0500 -Subject: [PATCH 3/3] perf: change --root to --prefix for python install - -Otherwise we get the sysroot path appended to the build path, not what -we want. - -Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ---- - tools/perf/Makefile | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/tools/perf/Makefile b/tools/perf/Makefile -index f966313..15ec207 100644 ---- a/tools/perf/Makefile -+++ b/tools/perf/Makefile -@@ -954,7 +954,7 @@ install: all - $(INSTALL) scripts/python/bin/* -t '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/scripts/python/bin' - - install-python_ext: -- $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)' -+ $(PYTHON_WORD) util/setup.py --quiet install --prefix='$(DESTDIR_SQ)/usr' - - install-doc: - $(MAKE) -C Documentation install --- -1.7.5.4 - diff --git a/recipes-kernel/linux/files/features/perf/perf-force-include-of-stdbool.h.patch b/recipes-kernel/linux/files/features/perf/perf-force-include-of-stdbool.h.patch deleted file mode 100644 index fca7166..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-force-include-of-stdbool.h.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 34de8e4396a3bd6a4cb1415dd4baa3349c9d4990 Mon Sep 17 00:00:00 2001 -From: Bruce Ashfield <bruce.ashfield@windriver.com> -Date: Thu, 19 Aug 2010 11:24:45 -0400 -Subject: [PATCH] perf: force include of <stdbool.h> - -Large parts of perf use bool variables and assignments. -Rather than depending on transient includes, we force it -by including <stdbool.h> directly in perf.h - -Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ---- - tools/perf/perf.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tools/perf/perf.h b/tools/perf/perf.h -index 89e3355..164fccb 100644 ---- a/tools/perf/perf.h -+++ b/tools/perf/perf.h -@@ -5,6 +5,8 @@ struct winsize; - - void get_term_dimensions(struct winsize *ws); - -+#include <stdbool.h> -+ - #if defined(__i386__) - #include "../../arch/x86/include/asm/unistd.h" - #define rmb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") --- -1.7.9.7 - diff --git a/recipes-kernel/linux/files/features/perf/perf-use-pkg-config-instead-of-python-config.patch b/recipes-kernel/linux/files/features/perf/perf-use-pkg-config-instead-of-python-config.patch deleted file mode 100644 index 26b0787..0000000 --- a/recipes-kernel/linux/files/features/perf/perf-use-pkg-config-instead-of-python-config.patch +++ /dev/null @@ -1,33 +0,0 @@ -From b4bc86501882e4c62042afd7fc8072a5bb7bcb3c Mon Sep 17 00:00:00 2001 -From: Tom Zanussi <tom.zanussi@intel.com> -Date: Tue, 3 Jul 2012 13:07:21 -0500 -Subject: [PATCH 1/3] perf: use pkg-config instead of python-config - -Python has build flags available via pkg-config, use those at -build-time instead. - -Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ---- - tools/perf/Makefile | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tools/perf/Makefile b/tools/perf/Makefile -index 92271d3..35425ab 100644 ---- a/tools/perf/Makefile -+++ b/tools/perf/Makefile -@@ -596,10 +596,10 @@ else - - PYTHON_CONFIG_SQ := $(call shell-sq,$(PYTHON_CONFIG)) - -- PYTHON_EMBED_LDOPTS := $(shell $(PYTHON_CONFIG_SQ) --ldflags 2>/dev/null) -+ PYTHON_EMBED_LDOPTS := $(shell pkg-config --libs python 2>/dev/null) - PYTHON_EMBED_LDFLAGS := $(call strip-libs,$(PYTHON_EMBED_LDOPTS)) - PYTHON_EMBED_LIBADD := $(call grep-libs,$(PYTHON_EMBED_LDOPTS)) -- PYTHON_EMBED_CCOPTS := $(shell $(PYTHON_CONFIG_SQ) --cflags 2>/dev/null) -+ PYTHON_EMBED_CCOPTS := $(shell pkg-config --cflags python 2>/dev/null) - FLAGS_PYTHON_EMBED := $(PYTHON_EMBED_CCOPTS) $(PYTHON_EMBED_LDOPTS) - - ifneq ($(call try-cc,$(SOURCE_PYTHON_EMBED),$(FLAGS_PYTHON_EMBED)),y) --- -1.7.5.4 - diff --git a/recipes-kernel/linux/files/features/perf/perf.cfg b/recipes-kernel/linux/files/features/perf/perf.cfg deleted file mode 100644 index ba58ff2..0000000 --- a/recipes-kernel/linux/files/features/perf/perf.cfg +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PERF_EVENTS=y diff --git a/recipes-kernel/linux/files/features/perf/perf.scc b/recipes-kernel/linux/files/features/perf/perf.scc deleted file mode 100644 index eb9fece..0000000 --- a/recipes-kernel/linux/files/features/perf/perf.scc +++ /dev/null @@ -1,10 +0,0 @@ -# perf patches -patch perf-force-include-of-stdbool.h.patch -patch perf-use-pkg-config-instead-of-python-config.patch -patch perf-add-libperl-not-found-warning.patch -patch perf-change-root-to-prefix-for-python-install.patch -patch perf-add-sgidefs.h-to-for-mips-builds.patch -patch perf-add-SLANG_INC-for-slang.h.patch -patch perf-annotate-replace-expand-with-equivalent-sed-exp.patch - -kconf non-hardware perf.cfg
\ No newline at end of file diff --git a/recipes-kernel/linux/files/features/powertop/powertop.cfg b/recipes-kernel/linux/files/features/powertop/powertop.cfg deleted file mode 100644 index 36e6fb1..0000000 --- a/recipes-kernel/linux/files/features/powertop/powertop.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# for powertop -CONFIG_TIMER_STATS=y diff --git a/recipes-kernel/linux/files/features/powertop/powertop.scc b/recipes-kernel/linux/files/features/powertop/powertop.scc deleted file mode 100644 index 4661a0f..0000000 --- a/recipes-kernel/linux/files/features/powertop/powertop.scc +++ /dev/null @@ -1,6 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable powertop + profiling" -define KFEATURE_COMPATIBILITY arch - -include features/profiling/profiling.scc - -kconf non-hardware powertop.cfg diff --git a/recipes-kernel/linux/files/features/profiling/profiling.cfg b/recipes-kernel/linux/files/features/profiling/profiling.cfg deleted file mode 100644 index bb25cce..0000000 --- a/recipes-kernel/linux/files/features/profiling/profiling.cfg +++ /dev/null @@ -1,4 +0,0 @@ -# for oprofile and powertop -CONFIG_PROFILING=y -CONFIG_FRAME_POINTER=y -CONFIG_X86_LOCAL_APIC=y diff --git a/recipes-kernel/linux/files/features/profiling/profiling.scc b/recipes-kernel/linux/files/features/profiling/profiling.scc deleted file mode 100644 index 32032fa..0000000 --- a/recipes-kernel/linux/files/features/profiling/profiling.scc +++ /dev/null @@ -1,4 +0,0 @@ -define KFEATURE_DESCRIPTION "Enable profiling and timerstats" -define KFEATURE_COMPATIBILITY board - -kconf non-hardware profiling.cfg |