[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1753625621.git.namcao@linutronix.de>
Date: Sun, 27 Jul 2025 19:31:11 +0200
From: Nam Cao <namcao@...utronix.de>
To: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Gabriele Monaco <gmonaco@...hat.com>,
linux-trace-kernel@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Nam Cao <namcao@...utronix.de>
Subject: [PATCH 0/2] rv: Fix wrong type cast
Hi,
After my previous rv simplification series:
https://lore.kernel.org/linux-trace-kernel/cover.1753378331.git.namcao@linutronix.de/T/#t
Some RV's available/enabled reactors/monitors files do not work anymore:
root@...low:~# cat /sys/kernel/tracing/rv/available_monitors
nop: �������`������� ���������Z������u�����-s�����
nop:���������������� �������@>H�����
nop:
��������
��������8�������:��������
`���������������
root@...low:~# cat /sys/kernel/tracing/rv/available_reactors
��������8�������
P�������x�������
8����������������^�����81s������I?�������������8�������
It turned out that there has been a type cast mistake in RV all this time,
but it still happened to work. Due to the recent refactor, the mistaken
type cast got "promoted" and became a real problem.
This series fixes up this type cast.
Nam Cao (2):
rv: Fix wrong type cast in monitors_show()
rv: Fix wrong type cast in reactors_show() and monitor_reactor_show()
kernel/trace/rv/rv.c | 2 +-
kernel/trace/rv/rv_reactors.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.39.5
Powered by blists - more mailing lists