From c8e5256382af8cd62cc32d89e0f08e10235f5635 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 17 Jan 2023 15:26:16 +0800 Subject: uftrace: upgrade 0.12 -> 0.13 Changelog: ========== * new options -L/--loc-filter option to filter by source location (#1395) --mermaid option for uftrace dump (#1511) --no-sched-preempt option to disable preempted schedule events (#1587) * new features make -Z/--size-filter option work in general (#1600) optionally spawn a background agent to talk using a socket (#1543) add "size" field for uftrace report (#1495) * bug fixes handle different tracefs mount points (#1476) fix timestamp parsing for external data (#1549) * other changes add clang-format support change to use Github actions test both GCC and LLVM/clang (#1523) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/uftrace/uftrace_0.12.bb | 44 ------------------------ meta-oe/recipes-devtools/uftrace/uftrace_0.13.bb | 44 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 44 deletions(-) delete mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.12.bb create mode 100644 meta-oe/recipes-devtools/uftrace/uftrace_0.13.bb diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.12.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.12.bb deleted file mode 100644 index 111e948669..0000000000 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.12.bb +++ /dev/null @@ -1,44 +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 = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -DEPENDS = "elfutils" -DEPENDS:append:libc-musl = " argp-standalone" - -inherit autotools - -SRCREV = "46d536709451609e5e99099216d9dcf567ceeaca" -SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ - " -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)" - -# uftrace supports armv6 and above -COMPATIBLE_HOST:armv4 = 'null' -COMPATIBLE_HOST:armv5 = 'null' diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.13.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.13.bb new file mode 100644 index 0000000000..a429f7948e --- /dev/null +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.13.bb @@ -0,0 +1,44 @@ +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 = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "elfutils" +DEPENDS:append:libc-musl = " argp-standalone" + +inherit autotools + +SRCREV = "53ec12d40701cf73ddcf5db8cff63b54736d0eda" +SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ + " +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)" + +# uftrace supports armv6 and above +COMPATIBLE_HOST:armv4 = 'null' +COMPATIBLE_HOST:armv5 = 'null' -- cgit v1.2.3-54-g00ecf