Re: [PATCH v3 2/2] selftests/livepatch: filter debug messages in check_result()

Song Liu <[email protected]>
Newsgroups org.kernel.vger.live-patching
Message-ID <CAPhsuW6tXmjqW17FquDeaCWwN_4D4ets1Y1xTk0yMfjdNczzxA@mail.gmail.com>
On Thu, Aug 20, 2026 at 8:17 PM Yafang Shao <[email protected]> wrote:
>
[...]
>
> Filtering out every "kobject:" line also hides real WARN()s, e.g. the
> one kobject_get() emits for an object whose refcount was not
> initialized.  Filtering with "dmesg --level=..." is not enough either,
> since the tests enable livepatch pr_debug() through dynamic_debug/control
> and expect its messages.  Read the log with "dmesg --raw" and drop only
> the debug-level messages without the "livepatch:" prefix, plus the
> specific delayed-release info message.
>
> Suggested-by: Petr Mladek <[email protected]>
> Signed-off-by: Yafang Shao <[email protected]>

Acked-by: Song Liu <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.