From c7e2e1e3ecbe6c3aa56ae55cad9fd49690b2c438 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 16 Jul 2025 14:41:02 +0800 Subject: uftrace: upgrade 0.17 -> 0.18 Changelog: =========== - symbol: Fix uninitialized 'sec_iter' in the 'arch_load_dynsymtab_noplt' - graph: -f total-avg,self-avg,total-max,total-min,self-max,self-min in tui,cmds - test: exclude system_initialize_function in t295 and t296 using filter option - record: Add shmem directory to exec permission - misc: Support Rocky Linux 9 in install-deps parts - tests: Fix s-thread.c and s-exp-mixed.c tests from clang Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb | 43 ------------------------ meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb | 43 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb deleted file mode 100644 index 776bb014f4..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb +++ /dev/null @@ -1,43 +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 = "b0d936107edcefb519abbc9c363ca40daaac23b3" -SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ - file://0001-include-libgen.h-for-basename.patch" - -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.18.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb new file mode 100644 index 0000000000..f82dc17071 --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb @@ -0,0 +1,43 @@ +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 = "8ccd4f627569b0af122c8d1df98dc6813ab97a40" +SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https;tag=v${PV} \ + file://0001-include-libgen.h-for-basename.patch" + +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