linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] trace-cmd record: Fix compression on big-endian systems
@ 2025-04-11 22:49 Ilya Leoshkevich
  2025-04-11 22:49 ` [PATCH v2 1/2] " Ilya Leoshkevich
  2025-04-11 22:49 ` [PATCH v2 2/2] libtracecmd: Add missing error handling to trace-compress.c Ilya Leoshkevich
  0 siblings, 2 replies; 3+ messages in thread
From: Ilya Leoshkevich @ 2025-04-11 22:49 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-trace-devel, Heiko Carstens, Vasily Gorbik,
	Alexander Gordeev, Ilya Leoshkevich

v1: https://lore.kernel.org/linux-trace-devel/20250411172815.61477-1-iii@linux.ibm.com/
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/20250411172207.61332-1-iii@linux.ibm.com/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-11 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11 22:49 [PATCH v2 0/2] trace-cmd record: Fix compression on big-endian systems Ilya Leoshkevich
2025-04-11 22:49 ` [PATCH v2 1/2] " Ilya Leoshkevich
2025-04-11 22:49 ` [PATCH v2 2/2] libtracecmd: Add missing error handling to trace-compress.c Ilya Leoshkevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).