[PATCH v2 0/2] trace-cmd record: Fix compression on big-endian systems
Ilya Leoshkevich <[email protected]> Sat, 12 Apr 2025 00:49:24 +0200
| Newsgroups | org.kernel.vger.linux-trace-devel |
|---|---|
| Message-ID | <[email protected]> |
v1: https://lore.kernel.org/linux-trace-devel/[email protected]/ v1 -> v2: Factor out read_size_val(), split out the error handling change (Steven). Hi, While running trace-cmd on s390x, I ran into a few issues. This is the fix for the first one: trace-cmd report prints nothing. The second one is a kernel issue [1], which causes trace-cmd to print a lot of bogus space characters. The final one is "error in size of file '/proc/kallsyms'" caused by delayed removal of a BPF program from /proc/kallsyms. I plan to fix it by reading the contents of /proc/kallsyms into a temporary file before writing it into the trace file. [1] https://lore.kernel.org/lkml/[email protected]/ Best regards, Ilya Ilya Leoshkevich (2): trace-cmd record: Fix compression on big-endian systems libtracecmd: Add missing error handling to trace-compress.c lib/trace-cmd/trace-compress.c | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) -- 2.49.0