[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080210151911.GA28201@elte.hu>
Date: Sun, 10 Feb 2008 16:19:11 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Eugene Teo <eugeneteo@...nel.sg>
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@....com.au>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [12/19] ftrace: function tracer
* Eugene Teo <eugeneteo@...nel.sg> wrote:
> kerndev: /sys/kernel/debug/tracing$ cat current_tracer
> ftrace
> kerndev: /sys/kernel/debug/tracing$ cat tracing_enabled
> 1
> kerndev: /sys/kernel/debug/tracing$ cat iter_ctrl
> noprint-parent nosym-offset nosym-addr noverbose
> kerndev: /sys/kernel/debug/tracing$ echo symonly > iter_ctrl
> kerndev: /sys/kernel/debug/tracing$ cat iter_ctrl
> noprint-parent nosym-offset nosym-addr noverbose
>
> How did you get the above output?
the logic is this: the iter_ctl flags are either "noprint-parent" or
"print-parent". You can toggle it by writing the opposite into that
file. The "symonly" was an older flag - we'll update documentation with
that.
so for example to print out the symbol addresses in hexa too, do:
echo sym-addr > iter_ctrl
to turn that aspect of trace display off, do:
echo nosym-addr > iter_ctrl
we'll gravitate the defaults to something that is OK to most people, but
certain purposes need more (or less) information, so the various toggles
are still quite useful. (Previously we kept all the toggles as separate
switches, but that was more confusing - now it's concentrated into a
single control.)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists