Sergey Senozhatsky
96928d9032
seq_buf: Add seq_buf_do_printk() helper
...
Sometimes we use seq_buf to format a string buffer, which
we then pass to printk(). However, in certain situations
the seq_buf string buffer can get too big, exceeding the
PRINTKRB_RECORD_MAX bytes limit, and causing printk() to
truncate the string.
Add a new seq_buf helper. This helper prints the seq_buf
string buffer line by line, using \n as a delimiter,
rather than passing the whole string buffer to printk()
at once.
Link: https://lkml.kernel.org/r/20230415100110.1419872-1-senozhatsky@chromium.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-04-25 21:03:14 -04:00
..
2023-02-24 17:18:54 -08:00
2023-02-27 10:04:49 -08:00
2023-02-22 11:05:56 -08:00
2023-02-22 14:21:40 -08:00
2023-02-26 18:31:37 +00:00
2023-02-25 15:16:23 -08:00
2023-02-24 15:11:03 -08:00
2023-02-24 15:11:03 -08:00
2023-02-27 09:47:26 -08:00
2023-03-01 09:06:51 -08:00
2023-02-25 11:30:21 -08:00
2023-02-24 17:12:23 -08:00
2023-02-25 15:01:32 -08:00
2023-02-23 17:09:35 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 17:29:52 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:07:00 -08:00
2023-02-24 12:58:55 -08:00
2023-03-14 09:25:50 -06:00
2023-03-15 09:25:04 -06:00
2023-02-22 08:27:49 +09:00
2023-03-01 10:01:22 -08:00
2023-03-09 15:40:49 -08:00
2023-03-05 10:49:37 -08:00
2023-03-05 10:49:37 -08:00
2023-02-24 12:17:14 -08:00
2023-02-25 11:30:21 -08:00
2023-03-12 08:52:03 -07:00
2023-02-24 17:18:54 -08:00
2023-02-23 14:41:48 -08:00
2023-02-25 12:53:42 -08:00
2023-03-13 10:14:05 +01:00
2023-02-24 12:58:55 -08:00
2023-03-28 18:52:22 -04:00
2023-02-23 17:09:35 -08:00
2023-02-20 12:33:41 -08:00
2023-03-21 14:00:10 -04:00
2023-02-23 11:51:56 +01:00
2023-03-07 01:50:53 -05:00
2023-02-24 12:47:33 -08:00
2023-02-23 17:09:35 -08:00
2023-02-24 12:58:55 -08:00
2023-03-09 21:59:11 +01:00
2023-02-22 12:36:25 -08:00
2023-03-07 22:19:05 +02:00
2023-02-22 09:57:23 -07:00
2023-02-22 13:50:13 -08:00
2023-02-24 14:34:12 -08:00
2023-02-24 14:34:12 -08:00
2023-03-12 08:55:55 -07:00
2023-02-21 08:49:16 +09:00
2023-02-23 17:09:35 -08:00
2023-02-20 12:46:18 -08:00
2023-02-23 17:09:35 -08:00
2023-02-23 17:09:35 -08:00
2023-02-23 14:05:08 -08:00
2023-02-23 14:00:10 -08:00
2023-02-24 19:20:07 -08:00
2023-03-05 11:19:16 -08:00
2023-02-22 14:21:40 -08:00
2023-03-15 00:04:04 -07:00
2023-02-22 21:25:23 -08:00
2023-02-20 17:25:43 -06:00
2023-02-22 14:47:20 -08:00
2023-02-21 14:45:22 -08:00
2023-03-15 14:58:52 +01:00
2023-02-24 13:31:53 -08:00
2023-02-23 17:09:35 -08:00
2023-02-25 11:48:02 -08:00
2023-03-13 09:15:11 +01:00
2023-02-23 13:43:23 +01:00
2023-02-20 17:25:43 -06:00
2023-02-21 18:24:12 -08:00
2023-02-22 10:55:22 +00:00
2023-02-27 17:00:14 -08:00
2023-03-29 06:52:08 -04:00
2023-04-25 21:03:14 -04:00
2023-02-27 10:49:43 +01:00
2023-02-20 16:46:10 -08:00
2023-03-14 17:07:54 -07:00
2023-02-22 17:12:44 -08:00
2023-03-29 06:52:09 -04:00
2023-02-23 17:55:40 -08:00
2023-02-20 19:26:58 -05:00
2023-02-20 19:26:58 -05:00
2023-02-20 19:26:59 -05:00