Sven Schnelle
8d276f10e8
tracing: Ensure trace buffer is at least 4096 bytes large
...
[ Upstream commit 7acf3a127bb7c65ff39099afd78960e77b2ca5de ]
Booting the kernel with 'trace_buf_size=1' give a warning at
boot during the ftrace selftests:
[ 0.892809] Running postponed tracer tests:
[ 0.892893] Testing tracer function:
[ 0.901899] Callback from call_rcu_tasks_trace() invoked.
[ 0.983829] Callback from call_rcu_tasks_rude() invoked.
[ 1.072003] .. bad ring buffer .. corrupted trace buffer ..
[ 1.091944] Callback from call_rcu_tasks() invoked.
[ 1.097695] PASSED
[ 1.097701] Testing dynamic ftrace: .. filter failed count=0 ..FAILED!
[ 1.353474] ------------[ cut here ]------------
[ 1.353478] WARNING: CPU: 0 PID: 1 at kernel/trace/trace.c:1951 run_tracer_selftest+0x13c/0x1b0
Therefore enforce a minimum of 4096 bytes to make the selftest pass.
Link: https://lkml.kernel.org/r/20220214134456.1751749-1-svens@linux.ibm.com
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-16 14:16:00 +01:00
..
2022-03-02 11:42:49 +01:00
2022-03-02 11:42:45 +01:00
2021-03-04 11:38:46 +01:00
2022-01-27 10:53:44 +01:00
2021-10-06 15:55:49 +02:00
2022-02-16 12:54:31 +01:00
2021-04-14 08:41:58 +02:00
2021-09-15 09:50:29 +02:00
2021-05-26 12:06:54 +02:00
2020-10-16 11:11:19 -07:00
2022-02-23 12:01:08 +01:00
2022-02-16 12:54:22 +01:00
2021-11-12 14:58:33 +01:00
2022-03-08 19:09:34 +01:00
2022-03-08 19:09:34 +01:00
2022-01-27 10:54:06 +01:00
2022-03-16 14:16:00 +01:00
2021-05-11 14:47:37 +02:00
2020-10-16 11:11:19 -07:00
2022-02-23 12:01:00 +01:00
2020-12-30 11:54:18 +01:00
2021-09-03 10:09:31 +02:00
2020-12-30 11:54:18 +01:00
2022-02-08 18:30:34 +01:00
2020-08-17 20:26:58 -04:00
2020-08-23 17:36:59 -05:00
2021-10-27 09:56:52 +02:00
2020-07-30 11:15:58 -07:00
2020-10-13 09:17:34 -07:00
2020-08-23 17:36:59 -05:00
2021-09-15 09:50:40 +02:00
2021-12-01 09:19:08 +01:00
2021-06-23 14:42:52 +02:00
2021-09-08 08:49:00 +02:00
2021-01-30 13:55:18 +01:00
2020-11-19 11:58:16 -08:00
2022-02-23 12:01:08 +01:00
2021-04-07 15:00:14 +02:00
2021-06-30 08:47:29 -04:00
2020-10-13 09:17:34 -07:00
2020-11-02 12:14:19 -08:00
2021-07-20 16:05:58 +02:00
2020-10-25 14:51:49 -07:00
2021-01-09 13:46:24 +01:00
2020-08-12 10:58:02 -07:00
2021-02-03 23:28:37 +01:00
2021-05-19 10:13:09 +02:00
2020-10-05 13:37:03 +02:00
2020-08-12 10:58:01 -07:00
2021-12-08 09:03:20 +01:00
2021-09-03 10:09:31 +02:00
2021-05-11 14:47:37 +02:00
2021-03-25 09:04:11 +01:00
2021-03-25 09:04:11 +01:00
2022-02-23 12:01:00 +01:00
2020-09-01 09:58:03 +02:00
2020-09-04 17:51:55 +10:00
2020-11-14 11:26:04 -08:00
2020-10-29 17:22:59 -05:00
2021-09-18 13:40:36 +02:00
2021-01-09 13:46:24 +01:00
2021-09-26 14:08:58 +02:00
2021-05-26 12:06:49 +02:00
2020-10-16 11:11:19 -07:00
2020-11-14 11:26:03 -08:00
2020-07-27 14:31:12 -04:00
2020-10-16 11:11:22 -07:00
2021-05-19 10:13:09 +02:00
2021-10-06 15:55:49 +02:00
2020-08-24 18:38:38 -07:00
2020-08-07 11:33:25 -07:00
2021-08-18 08:59:06 +02:00
2021-11-18 14:03:47 +01:00
2021-05-14 09:50:46 +02:00
2021-07-14 16:55:50 +02:00
2020-09-16 15:18:56 +02:00
2022-02-23 12:01:00 +01:00
2020-09-18 14:24:16 +01:00
2021-09-08 08:49:00 +02:00
2020-10-26 12:12:27 +01:00
2020-10-18 09:27:10 -07:00
2021-09-26 14:08:57 +02:00
2022-03-11 12:11:49 +01:00
2020-10-17 15:05:30 -06:00
2020-10-02 19:11:12 -07:00
2021-09-03 10:09:30 +02:00
2022-01-27 10:54:33 +01:00
2021-09-08 08:49:00 +02:00
2020-10-06 10:31:52 -07:00
2021-05-14 09:50:46 +02:00
2021-09-08 08:49:00 +02:00
2021-03-30 14:32:03 +02:00
2020-08-17 09:39:18 -07:00
2021-05-19 10:13:00 +02:00
2022-01-16 09:14:22 +01:00