]> www.infradead.org Git - users/hch/misc.git/commit
ref_tracker: allow pr_ostream() to print directly to a seq_file
authorJeff Layton <jlayton@kernel.org>
Wed, 18 Jun 2025 14:24:18 +0000 (10:24 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Jun 2025 00:02:04 +0000 (17:02 -0700)
commitf6dbe294a11028db540e2dedf1929e25b1093e9b
treeedf7c0664f007ba5d6e50fd23d07f769e82e9be2
parentaa7d26c3c3497258b712fb97221e775733a710b7
ref_tracker: allow pr_ostream() to print directly to a seq_file

Allow pr_ostream to also output directly to a seq_file without an
intermediate buffer. The first caller of +ref_tracker_dir_seq_print()
will come in a later patch, so mark that __maybe_unused for now. That
designation will be removed once it is used.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20250618-reftrack-dbgfs-v15-5-24fc37ead144@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
lib/ref_tracker.c