* [PATCH] trace: create tracers menu
@ 2008-10-21 14:31 Peter Zijlstra
2008-10-21 14:34 ` Frédéric Weisbecker
2008-10-21 14:41 ` Steven Rostedt
0 siblings, 2 replies; 8+ messages in thread
From: Peter Zijlstra @ 2008-10-21 14:31 UTC (permalink / raw)
To: linux-kernel; +Cc: Ingo Molnar, Steven Rostedt
Subject: trace: create tracers menu
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Tue Oct 21 16:26:36 CEST 2008
We seem to have plenty tracers, lets create a menu and not clutter
the already cluttered debug menu more.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
kernel/trace/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
Index: linux-2.6/kernel/trace/Kconfig
===================================================================
--- linux-2.6.orig/kernel/trace/Kconfig
+++ linux-2.6/kernel/trace/Kconfig
@@ -29,6 +29,8 @@ config TRACING
select STACKTRACE
select TRACEPOINTS
+menu "Tracers"
+
config FUNCTION_TRACER
bool "Kernel Function Tracer"
depends on HAVE_FUNCTION_TRACER
@@ -191,3 +193,5 @@ config FTRACE_STARTUP_TEST
a series of tests are made to verify that the tracer is
functioning properly. It will do tests on all the configured
tracers of ftrace.
+
+endmenu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:31 [PATCH] trace: create tracers menu Peter Zijlstra
@ 2008-10-21 14:34 ` Frédéric Weisbecker
2008-10-21 14:37 ` Frédéric Weisbecker
2008-10-21 14:41 ` Steven Rostedt
1 sibling, 1 reply; 8+ messages in thread
From: Frédéric Weisbecker @ 2008-10-21 14:34 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: linux-kernel, Ingo Molnar, Steven Rostedt
2008/10/21 Peter Zijlstra <peterz@infradead.org>:
> Subject: trace: create tracers menu
> From: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Date: Tue Oct 21 16:26:36 CEST 2008
>
> We seem to have plenty tracers, lets create a menu and not clutter
> the already cluttered debug menu more.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> ---
> kernel/trace/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> Index: linux-2.6/kernel/trace/Kconfig
> ===================================================================
> --- linux-2.6.orig/kernel/trace/Kconfig
> +++ linux-2.6/kernel/trace/Kconfig
> @@ -29,6 +29,8 @@ config TRACING
> select STACKTRACE
> select TRACEPOINTS
>
> +menu "Tracers"
> +
> config FUNCTION_TRACER
> bool "Kernel Function Tracer"
> depends on HAVE_FUNCTION_TRACER
> @@ -191,3 +193,5 @@ config FTRACE_STARTUP_TEST
> a series of tests are made to verify that the tracer is
> functioning properly. It will do tests on all the configured
> tracers of ftrace.
> +
> +endmenu
Good Idea :)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:34 ` Frédéric Weisbecker
@ 2008-10-21 14:37 ` Frédéric Weisbecker
2008-10-21 14:41 ` Peter Zijlstra
2008-10-21 14:41 ` Steven Rostedt
0 siblings, 2 replies; 8+ messages in thread
From: Frédéric Weisbecker @ 2008-10-21 14:37 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: linux-kernel, Ingo Molnar, Steven Rostedt
2008/10/21 Frédéric Weisbecker <fweisbec@gmail.com>:
> 2008/10/21 Peter Zijlstra <peterz@infradead.org>:
>> Subject: trace: create tracers menu
>> From: Peter Zijlstra <a.p.zijlstra@chello.nl>
>> Date: Tue Oct 21 16:26:36 CEST 2008
>>
>> We seem to have plenty tracers, lets create a menu and not clutter
>> the already cluttered debug menu more.
But...you just included the function tracer inside?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:31 [PATCH] trace: create tracers menu Peter Zijlstra
2008-10-21 14:34 ` Frédéric Weisbecker
@ 2008-10-21 14:41 ` Steven Rostedt
2008-10-22 7:01 ` Ingo Molnar
1 sibling, 1 reply; 8+ messages in thread
From: Steven Rostedt @ 2008-10-21 14:41 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: linux-kernel, Ingo Molnar
On Tue, 21 Oct 2008, Peter Zijlstra wrote:
> Subject: trace: create tracers menu
> From: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Date: Tue Oct 21 16:26:36 CEST 2008
>
> We seem to have plenty tracers, lets create a menu and not clutter
> the already cluttered debug menu more.
>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Steven Rostedt <srostedt@redhat.com>
-- Steve
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:37 ` Frédéric Weisbecker
@ 2008-10-21 14:41 ` Peter Zijlstra
2008-10-21 14:47 ` Frédéric Weisbecker
2008-10-21 14:41 ` Steven Rostedt
1 sibling, 1 reply; 8+ messages in thread
From: Peter Zijlstra @ 2008-10-21 14:41 UTC (permalink / raw)
To: Frédéric Weisbecker; +Cc: linux-kernel, Ingo Molnar, Steven Rostedt
On Tue, 2008-10-21 at 16:37 +0200, Frédéric Weisbecker wrote:
> 2008/10/21 Frédéric Weisbecker <fweisbec@gmail.com>:
> > 2008/10/21 Peter Zijlstra <peterz@infradead.org>:
> >> Subject: trace: create tracers menu
> >> From: Peter Zijlstra <a.p.zijlstra@chello.nl>
> >> Date: Tue Oct 21 16:26:36 CEST 2008
> >>
> >> We seem to have plenty tracers, lets create a menu and not clutter
> >> the already cluttered debug menu more.
>
> But...you just included the function tracer inside?
Problem being? That's a tracer too, right? And it doesn't seem required
by the other tracers (except the max stack tracer).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:37 ` Frédéric Weisbecker
2008-10-21 14:41 ` Peter Zijlstra
@ 2008-10-21 14:41 ` Steven Rostedt
1 sibling, 0 replies; 8+ messages in thread
From: Steven Rostedt @ 2008-10-21 14:41 UTC (permalink / raw)
To: Frédéric Weisbecker; +Cc: Peter Zijlstra, linux-kernel, Ingo Molnar
On Tue, 21 Oct 2008, Fr?d?ric Weisbecker wrote:
> 2008/10/21 Fr?d?ric Weisbecker <fweisbec@gmail.com>:
> > 2008/10/21 Peter Zijlstra <peterz@infradead.org>:
> >> Subject: trace: create tracers menu
> >> From: Peter Zijlstra <a.p.zijlstra@chello.nl>
> >> Date: Tue Oct 21 16:26:36 CEST 2008
> >>
> >> We seem to have plenty tracers, lets create a menu and not clutter
> >> the already cluttered debug menu more.
>
> But...you just included the function tracer inside?
Sure, why not? The function tracer is its own tracer itself.
-- Steve
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:41 ` Peter Zijlstra
@ 2008-10-21 14:47 ` Frédéric Weisbecker
0 siblings, 0 replies; 8+ messages in thread
From: Frédéric Weisbecker @ 2008-10-21 14:47 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: linux-kernel, Ingo Molnar, Steven Rostedt
2008/10/21 Peter Zijlstra <peterz@infradead.org>:
> Problem being? That's a tracer too, right? And it doesn't seem required
> by the other tracers (except the max stack tracer).
Sorry I didn't want to write "just" but "only". I misread the patch
and I believed
there only was the function tracer inside.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] trace: create tracers menu
2008-10-21 14:41 ` Steven Rostedt
@ 2008-10-22 7:01 ` Ingo Molnar
0 siblings, 0 replies; 8+ messages in thread
From: Ingo Molnar @ 2008-10-22 7:01 UTC (permalink / raw)
To: Steven Rostedt; +Cc: Peter Zijlstra, linux-kernel
* Steven Rostedt <rostedt@goodmis.org> wrote:
> On Tue, 21 Oct 2008, Peter Zijlstra wrote:
>
> > Subject: trace: create tracers menu
> > From: Peter Zijlstra <a.p.zijlstra@chello.nl>
> > Date: Tue Oct 21 16:26:36 CEST 2008
> >
> > We seem to have plenty tracers, lets create a menu and not clutter
> > the already cluttered debug menu more.
> >
> > Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
>
> Acked-by: Steven Rostedt <srostedt@redhat.com>
applied to tip/tracing/urgent, thanks!
Ingo
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-10-22 7:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 14:31 [PATCH] trace: create tracers menu Peter Zijlstra
2008-10-21 14:34 ` Frédéric Weisbecker
2008-10-21 14:37 ` Frédéric Weisbecker
2008-10-21 14:41 ` Peter Zijlstra
2008-10-21 14:47 ` Frédéric Weisbecker
2008-10-21 14:41 ` Steven Rostedt
2008-10-21 14:41 ` Steven Rostedt
2008-10-22 7:01 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®