All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH topic/core-for-CI] Revert "ftrace: Allow configuring global trace buffer size (for dump-on-oops)"
@ 2025-06-30 15:17 Lucas De Marchi
  2025-06-30 18:56 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Lucas De Marchi @ 2025-06-30 15:17 UTC (permalink / raw)
  To: intel-xe, intel-gfx; +Cc: Jani Nikula, ryszard.knop, Lucas De Marchi

This reverts commit 41e750b906022da3e4fb9dc57bc17670a340ad23.

It's not used in CI anymore, probably for a very long time. So we don't
need maintain this in topic/core-for-CI.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 kernel/trace/Kconfig | 7 -------
 kernel/trace/trace.c | 4 +++-
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 012db82731e29..a3f35c7d83b6c 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -176,13 +176,6 @@ config TRACING
 	select TRACE_CLOCK
 	select NEED_TASKS_RCU
 
-config GLOBAL_TRACE_BUF_SIZE
-	int
-	prompt "Global ftrace buffer size (for trace_printk)" if EXPERT
-	range 0 4194034
-	default 1441792 # 16384 * 88 (sizeof(struct print_entry))
-	depends on TRACING
-
 config GENERIC_TRACER
 	bool
 	select TRACING
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index dc8ac10db04f2..95ae7c4e58357 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -950,7 +950,9 @@ int tracing_is_enabled(void)
  * to not have to wait for all that output. Anyway this can be
  * boot time and run time configurable.
  */
-static unsigned long		trace_buf_size = CONFIG_GLOBAL_TRACE_BUF_SIZE;
+#define TRACE_BUF_SIZE_DEFAULT	1441792UL /* 16384 * 88 (sizeof(entry)) */
+
+static unsigned long		trace_buf_size = TRACE_BUF_SIZE_DEFAULT;
 
 /* trace_types holds a link list of available tracers. */
 static struct tracer		*trace_types __read_mostly;
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-07-03 15:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 15:17 [PATCH topic/core-for-CI] Revert "ftrace: Allow configuring global trace buffer size (for dump-on-oops)" Lucas De Marchi
2025-06-30 18:56 ` ✓ i915.CI.BAT: success for " Patchwork
2025-07-01  5:03 ` ✓ CI.KUnit: " Patchwork
2025-07-01  5:42 ` ✓ Xe.CI.BAT: " Patchwork
2025-07-01 12:13 ` ✗ i915.CI.Full: failure " Patchwork
2025-07-02 19:33 ` ✗ Xe.CI.Full: " Patchwork
2025-07-03  7:35 ` [PATCH topic/core-for-CI] " Jani Nikula
2025-07-03 15:33   ` Lucas De Marchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.