Thread (10 messages) flat view 10 messages, 4 authors, 13d ago

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

From: Song Liu <song@kernel.org>
Date: 2026-08-21 20:46:03

On Thu, Aug 20, 2026 at 8:17 PM Yafang Shao [off-list ref] 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 <pmladek@suse.com>
Signed-off-by: Yafang Shao <redacted>
Acked-by: Song Liu <song@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help