From 1f6c0f6fd55520d1564bc2ad6fa4fb6fdfef8a80 Mon Sep 17 00:00:00 2001 From: Changhyeok Bae Date: Tue, 26 Sep 2017 23:31:27 +0000 Subject: uftrace: update version to 0.8 Two patches are applied in upstream (v0.8) Major release features * event tracing support * python scripting support * nested libcall tracing Signed-off-by: Changhyeok Bae Signed-off-by: Martin Jansa --- .../0001-Makefile-Add-LDFLAGS-in-export.patch | 31 ------------------- ...tils-Add-limits-header-to-fix-build-error.patch | 31 ------------------- meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb | 35 ---------------------- meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb | 31 +++++++++++++++++++ 4 files changed, 31 insertions(+), 97 deletions(-) delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb (limited to 'meta-oe/recipes-devtools') diff --git a/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch b/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch deleted file mode 100644 index f665051e9b..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace/0001-Makefile-Add-LDFLAGS-in-export.patch +++ /dev/null @@ -1,31 +0,0 @@ -From ec794945475d5792f2ae85afe461e64266613640 Mon Sep 17 00:00:00 2001 -From: Changhyeok Bae -Date: Thu, 13 Jul 2017 16:44:52 +0900 -Subject: [PATCH 1/2] Makefile: Add LDFLAGS in export - -To use build with musl, need to argp library. -So need to add LDFLAGS from outside. - -Upstream-Status: Accepted - -Signed-off-by: ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 67be2da..0ca649a 100644 ---- a/Makefile -+++ b/Makefile -@@ -48,7 +48,7 @@ endif - RM = rm -f - INSTALL = install - --export ARCH CC AR LD RM srcdir objdir -+export ARCH CC AR LD RM srcdir objdir LDFLAGS - - COMMON_CFLAGS := -O2 -g -D_GNU_SOURCE $(CFLAGS) $(CPPFLAGS) - COMMON_CFLAGS += -iquote $(srcdir) -iquote $(objdir) -iquote $(srcdir)/arch/$(ARCH) --- -1.9.1 - diff --git a/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch b/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch deleted file mode 100644 index 2690011581..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace/0002-utils-Add-limits-header-to-fix-build-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 3bda554766150705160fe2191d8761c7881e2433 Mon Sep 17 00:00:00 2001 -From: Changhyeok Bae -Date: Thu, 13 Jul 2017 16:46:20 +0900 -Subject: [PATCH 2/2] utils: Add limits header to fix build error - -[Error] -error: 'PATH_MAX' undeclared (first use in this function); did you mean -'INT8_MAX'? - -Upstream-Status: Accepted - -Signed-off-by: Changhyeok Bae ---- - utils/utils.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/utils/utils.c b/utils/utils.c -index 03522c9..30f9e81 100644 ---- a/utils/utils.c -+++ b/utils/utils.c -@@ -6,6 +6,7 @@ - #include - #include - #include -+#include - - #include "utils/utils.h" - --- -1.9.1 - diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb deleted file mode 100644 index 821d0bbc2f..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.7.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "Trace and analyze execution of a program written in C/C++" -HOMEPAGE = "https://github.com/namhyung/uftrace" -BUGTRACKER = "https://github.com/namhyung/uftrace/issues" -SECTION = "devel" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -DEPENDS = "elfutils" -DEPENDS_append_libc-musl = " argp-standalone" - -inherit autotools - -SRCREV = "712ad01fdde57893936d7e254451eec67ab41ca6" -SRC_URI = "\ - git://github.com/namhyung/${BPN} \ - file://0001-Makefile-Add-LDFLAGS-in-export.patch \ - file://0002-utils-Add-limits-header-to-fix-build-error.patch \ -" -S = "${WORKDIR}/git" - -LDFLAGS_append_libc-musl = " -largp" -EXTRA_OECONF = "ARCH=${TARGET_ARCH}" - -do_configure() { - ${S}/configure ${EXTRA_OECONF} -} - -FILES_SOLIBSDEV = "" -FILES_${PN} += "${libdir}/*.so" - -COMPATIBLE_HOST = "(x86_64|aarch64|arm)" - -# uftrace supports armv6 and above -COMPATIBLE_HOST_armv4 = 'null' -COMPATIBLE_HOST_armv5 = 'null' diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb new file mode 100644 index 0000000000..82b179521c --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb @@ -0,0 +1,31 @@ +SUMMARY = "Trace and analyze execution of a program written in C/C++" +HOMEPAGE = "https://github.com/namhyung/uftrace" +BUGTRACKER = "https://github.com/namhyung/uftrace/issues" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "elfutils" +DEPENDS_append_libc-musl = " argp-standalone" + +inherit autotools + +SRCREV = "5af9ff9fa89c340617e52c8ed05798b352a7145c" +SRC_URI = "git://github.com/namhyung/${BPN}" +S = "${WORKDIR}/git" + +LDFLAGS_append_libc-musl = " -largp" +EXTRA_OECONF = "ARCH=${TARGET_ARCH}" + +do_configure() { + ${S}/configure ${EXTRA_OECONF} +} + +FILES_SOLIBSDEV = "" +FILES_${PN} += "${libdir}/*.so" + +COMPATIBLE_HOST = "(x86_64|aarch64|arm)" + +# uftrace supports armv6 and above +COMPATIBLE_HOST_armv4 = 'null' +COMPATIBLE_HOST_armv5 = 'null' -- cgit v1.2.3-54-g00ecf