From 86a78344c85659d1d603a637f32c2cd5cffab479 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:29 -0400 Subject: uftrace: upgrade 0.15.2 -> 0.16 Changelog: ========== - build: Add -mno-sse to fix i386 build - build: Fix build failure on RHEL 7 - mcount: Fix a compiler warning on PAGE_SIZE - fix: #1858 by changing the wrong logic in update_dbg_info - ci: Fix ci warning on GitHub Acitons - slide: Add tensorflow and keras tracing example - python: Fix GC isn't working correctly. - replay: Support a new argument format for octal values - build: Fix compiler warnings - Fix Python SyntaxWarning on invalid escape sequence in the tests scripts - utils: Lower the debug level after dwfl_module_getdwarf - wrap: Do not print "dlopen is called for '(null)'" - Support standard deviation(STDDEV) in report output - dwarf: Close file descriptors in setup_dwarf_info() Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/uftrace/uftrace_0.15.2.bb | 44 ---------------------- meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb | 44 ++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.15.2.bb create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.15.2.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.15.2.bb deleted file mode 100644 index 60436025a3..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.15.2.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY = "Trace and analyze execution of a program written in C/C++, Rust and Python" -HOMEPAGE = "https://github.com/namhyung/uftrace" -BUGTRACKER = "https://github.com/namhyung/uftrace/issues" -SECTION = "devel" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -DEPENDS = "elfutils" -DEPENDS:append:libc-musl = " argp-standalone" - -inherit autotools - -SRCREV = "9d8657e90b918994d7d2bcf6dd2cc7354c35a1b4" -SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ - file://0001-include-libgen.h-for-basename.patch" -S = "${WORKDIR}/git" - -LDFLAGS:append:libc-musl = " -largp" - -def set_target_arch(d): - import re - arch = d.getVar('TARGET_ARCH') - if re.match(r'i.86', arch, re.I): - return 'i386' - elif re.match('armeb', arch, re.I): - return 'arm' - else: - return arch - -EXTRA_UFTRACE_OECONF = "ARCH=${@set_target_arch(d)} \ - with_elfutils=/use/libelf/from/sysroot" - -do_configure() { - ${S}/configure ${EXTRA_UFTRACE_OECONF} -} - -FILES_SOLIBSDEV = "" -FILES:${PN} += "${libdir}/*.so" - -COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|riscv64)" - -# uftrace supports armv6 and above -COMPATIBLE_HOST:armv4 = 'null' -COMPATIBLE_HOST:armv5 = 'null' diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb new file mode 100644 index 0000000000..320b5a88a6 --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb @@ -0,0 +1,44 @@ +SUMMARY = "Trace and analyze execution of a program written in C/C++, Rust and Python" +HOMEPAGE = "https://github.com/namhyung/uftrace" +BUGTRACKER = "https://github.com/namhyung/uftrace/issues" +SECTION = "devel" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "elfutils" +DEPENDS:append:libc-musl = " argp-standalone" + +inherit autotools + +SRCREV = "68aed9b0a20d3d1b5e1dc15e0f8aabba7e34735b" +SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ + file://0001-include-libgen.h-for-basename.patch" +S = "${WORKDIR}/git" + +LDFLAGS:append:libc-musl = " -largp" + +def set_target_arch(d): + import re + arch = d.getVar('TARGET_ARCH') + if re.match(r'i.86', arch, re.I): + return 'i386' + elif re.match('armeb', arch, re.I): + return 'arm' + else: + return arch + +EXTRA_UFTRACE_OECONF = "ARCH=${@set_target_arch(d)} \ + with_elfutils=/use/libelf/from/sysroot" + +do_configure() { + ${S}/configure ${EXTRA_UFTRACE_OECONF} +} + +FILES_SOLIBSDEV = "" +FILES:${PN} += "${libdir}/*.so" + +COMPATIBLE_HOST = "(i.86|x86_64|aarch64|arm|riscv64)" + +# uftrace supports armv6 and above +COMPATIBLE_HOST:armv4 = 'null' +COMPATIBLE_HOST:armv5 = 'null' -- cgit v1.2.3-54-g00ecf