Commit Graph

9 Commits

Author SHA1 Message Date
Changqing Li
20b8ac86a1
libtracefs: support reproducible builds
[snip of Makefile]
 # bison will create both sqlhist.tab.c and sqlhist.tab.h
sqlhist.tab.h:
sqlhist.tab.c: sqlhist.y sqlhist.tab.h
    bison --debug -v --report-file=bison.report -d -o $@ $<
[snip]

sources of libtracefs is fetched by git, the mtime of sqlhist.y,
sqlhist.tab.c is random. so sometimes, sqlhist.tab.c is regenerated,
sometimes, sqlhist.tab.c in original sources in used. bison used to
gernerate sqlhist.tab.c by upstream libtracefs maybe has different
version with the build host one. This make the final libtracefs.so not
reproducible. This fix touch sqlhist.tab.c to make it has the newest
mtime, and sqlhist.tab.c is not regenerated during build.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 02:01:29 -08:00
Ankur Tyagi
6b15a5a293
libtracefs: upgrade 1.8.1 -> 1.8.2
New version added trace_sql.bash for tracefs_sql() bash completions.

Changelog:
https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/tag/?h=libtracefs-1.8.2

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-14 07:39:48 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
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>
2025-06-25 06:44:52 -07:00
Wang Mingyu
ce7274164c
libtracefs: upgrade 1.8.0 -> 1.8.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:15 -07:00
Wang Mingyu
fe5bd08e57
libtracefs: upgrade 1.7.0 -> 1.8.0
0001-makefile-Do-not-preserve-ownership-in-cp-command.patch
refreshed for 1.8.0

0001-tracefs-perf-Add-missing-headers-for-syscall-and-SYS.patch
removed since it's included in 1.8.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:11:58 -07:00
Khem Raj
9c2602353b libtracefs: Fix build with clang+musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
2023-06-14 09:50:28 -07:00
Wang Mingyu
eb6de6cd4b libtracefs: upgrade 1.6.4 -> 1.7.0
Changelog:
==========
 - Fixes to the tests.
 - Added meson build support (but it is not the default).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-14 09:50:28 -07:00
Wang Mingyu
bf10ef1aa6 libtracefs: upgrade 1.6.3 -> 1.6.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-17 01:05:53 -08:00
Khem Raj
78c9d3bc1d libtracefs: Add recipe
Needed by trace-cmd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-24 14:30:48 -08:00