Sven Schnelle
2f8ee5379b
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 12:49:01 +01:00
..
2022-02-16 12:43:54 +01:00
2016-10-11 15:06:32 -07:00
2021-03-03 17:44:31 +01:00
2021-09-22 11:43:09 +02:00
2020-09-23 08:46:14 +02:00
2021-03-24 10:59:26 +01:00
2016-08-26 14:42:08 +02:00
2021-11-26 11:48:27 +01:00
2022-02-08 18:15:26 +01:00
2021-11-12 13:18:02 +01:00
2019-05-31 06:48:30 -07:00
2021-12-14 10:04:48 +01:00
2021-12-22 09:05:14 +01:00
2022-03-16 12:49:01 +01:00
2018-01-10 09:29:51 +01:00
2018-02-17 13:21:18 +01:00
2020-10-01 20:40:07 +02:00
2021-04-07 12:05:41 +02:00
2021-04-07 12:05:41 +02:00
2021-04-07 12:05:41 +02:00
2019-11-28 18:28:55 +01:00
2018-11-13 11:16:57 -08:00
2017-01-06 10:40:13 +01:00
2019-12-21 10:42:02 +01:00
2022-02-11 08:41:17 +01:00
2020-06-20 10:24:21 +02:00
2020-12-29 13:44:50 +01:00
2017-10-12 11:51:25 +02:00
2020-01-12 11:24:13 +01:00
2021-02-03 23:19:49 +01:00
2017-07-21 07:42:21 +02:00
2021-09-22 11:43:08 +02:00
2016-07-28 16:07:41 -07:00
2021-07-11 12:46:40 +02:00
2018-01-10 09:29:52 +01:00
2019-04-20 09:07:52 +02:00
2017-12-14 09:28:24 +01:00
2018-08-03 07:55:12 +02:00
2018-06-05 10:28:57 +02:00
2021-05-22 10:40:31 +02:00
2016-08-02 19:35:27 -04:00
2020-10-14 09:48:14 +02:00
2021-12-08 08:45:06 +01:00
2016-08-02 19:35:30 -04:00
2021-07-11 12:46:41 +02:00
2021-02-10 09:09:25 +01:00
2017-03-12 06:41:45 +01:00
2019-01-13 10:03:51 +01:00
2021-03-03 17:44:44 +01:00
2020-04-02 17:20:26 +02:00
2020-05-27 16:41:53 +02:00
2019-10-17 13:42:25 -07:00
2021-09-22 11:43:08 +02:00
2018-04-13 19:47:53 +02:00
2021-09-26 13:36:18 +02:00
2021-05-26 11:29:06 +02:00
2020-11-18 18:26:32 +01:00
2020-08-26 10:29:03 +02:00
2018-04-24 09:34:09 +02:00
2021-03-03 17:44:43 +01:00
2021-11-26 11:48:24 +01:00
2018-08-15 18:14:53 +02:00
2016-10-11 15:06:33 -07:00
2018-08-15 18:14:42 +02:00
2017-02-14 15:25:42 -08:00
2018-08-03 07:55:24 +02:00
2016-09-13 14:41:36 +02:00
2021-09-26 13:36:18 +02:00
2022-03-11 10:03:31 +01:00
2016-08-02 19:35:02 -04:00
2020-01-12 11:24:12 +01:00
2016-08-22 10:01:49 -07:00
2021-03-03 17:44:38 +01:00
2022-02-23 11:56:40 +01:00
2017-06-17 06:41:51 +02:00
2018-01-10 09:29:52 +01:00
2016-09-05 13:52:39 +02:00
2018-09-09 20:01:24 +02:00
2018-09-09 20:01:24 +02:00
2016-09-22 20:00:36 -05:00
2017-06-17 06:41:57 +02:00
2017-06-17 06:41:57 +02:00
2017-11-15 15:53:17 +01:00
2021-08-04 11:58:01 +02:00