0001-build-Fix-a-build-error-on-i386.patch
removed since it's included in 0.18.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
1. "oe_runmake DESTDIR=${D} install" will actually install to ${D},
"oe_runmake DESTDIR=${D}" will skip install, ${D} is empty
2. fix issue that:
| ERROR: uftrace-0.18-r0 do_package: QA Issue: File '/usr/lib/libelf.so' from
| uftrace was already stripped, this will prevent future debugging! [already-stripped]
we have set to use sysroot libelf in do_configure with "--with-elfutils=${STAGING_EXECPREFIXDIR}",
here remove uftrace build libelf
Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Do not inherit autotools bbclass, the configure script is hand-written
and not a autoconf generated one.
Backport a fix to build on 32bit x86
Fixes
| i686-yoe-linux-ld.lld: error: undefined symbol: uftrace_arch_ops
| >>> referenced by symbol.c:586 (utils/symbol.c:586)
| >>> /mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux/uftrace/0.18/sources/uftrace-0.18/libmcount/symbol.op:(load_elf_dynsymtab)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.
I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
* New features
Support watchpoint for global variables
Show man pages for the given command
Add utc_offset in the header info
* Bug fixes
Show arguments in libraries from dlopen
Save debug info for libraries from dlopen
Protect FD of communication channel from being closed
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-build-Fix-a-build-race-related-to-utils-mermaid.html.patch
removed since it's included in 0.13.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes a build race seen after 0.13 upgrade
| /home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/uftrace/0.13-r0/git/cmds/dump.c: In function 'dump_mermaid_footer':
| /home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/uftrace/0.13-r0/git/cmds/dump.c:1347:10: fatal error: utils/mermaid.html.cstr: No such file or directory
| 1347 | #include "utils/mermaid.html.cstr" /* This file is a converted of mermaid.html to one string literal in build-time */
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| make[1]: *** [Makefile:310: /home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/uftrace/0.13-r0/build/cmds/dump.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
* support dynamic tracing with -fpatchable-function-entry
* --clock option to use a different clock source
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
0001-aarch64-Fix-a-plthook-crash-on-aarch64-with-binutils.patch
removed since it is removed in 0.10
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
uftrace_0.9.4.bb now doesn't actually use exact 0.9.4 version, so it has
to add a PV value to update the package version.
Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The latest update moved uftrace from a stable release
to a git snapshot.
Adjust PR accordingly.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
If TARGET_ARCH is not set to i386 for x86, build will be failed
with logs such as "arch/i586: No such file or directory".
In this case, TARGET_ARCH is set to i586.
To succeed the build, add additional function named set_target_arch.
Signed-off-by: Yi-Soo An <yisooan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Deliberately provide a non existing path to with_elfutils so it does
not copy libelf.so into its staged install and become a provider for
that library while elfutils should be the legit provider and this
package should just list it in its rdeps
* Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 <changhyeok.bae@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- Add recipe for uftrace v0.7.
- Support x86_64, arm (v6 or later), and aarch64.
- Disable for armv4 and armv5 in arm architecture which is only
supported armv6 or later.
- Attached 2 patches is merged to upstream.
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>