From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Nikanth Karthikesan <knikanth@suse.de>
Cc: kosaki.motohiro@jp.fujitsu.com,
Steven Rostedt <rostedt@goodmis.org>,
linux-kernel@vger.kernel.org
Subject: Re: ftrace not working?
Date: Mon, 23 Mar 2009 17:08:53 +0900 (JST) [thread overview]
Message-ID: <20090323170234.6A12.A69D9226@jp.fujitsu.com> (raw)
In-Reply-To: <200903231208.03723.knikanth@suse.de>
Hi
> I tried ftrace with the linus git 2.6.29 rc-6, & rc-8, but I always seem to
> get empty trace! Am I doing something wrong?
>
> This is what I did.
>
> linux-glcc:/data/git/linux-2.6 # cd /sys/kernel/debug/tracing/
> linux-glcc:/sys/kernel/debug/tracing # cat available_tracers
> function_graph function sysprof sched_switch nop
> linux-glcc:/sys/kernel/debug/tracing # echo sched_switch > current_tracer
> linux-glcc:/sys/kernel/debug/tracing # echo 1 > tracing_enabled
> linux-glcc:/sys/kernel/debug/tracing # cat tracing_enabled
> 1
> linux-glcc:/sys/kernel/debug/tracing # cat trace
> # tracer: sched_switch
> #
> # TASK-PID CPU# TIMESTAMP FUNCTION
> # | | | | |
your operation seems fine and your .config seems fine too.
but my box works ftrace well on 2.6.29-rc8.
hmm...
Could you post followin operation result and dmesg?
# cat failures
# cat current_tracer
# cat trace_options
# cat buffer_size_kb
# cat dyn_ftrace_total_info
# cat trace_options
# cat set_ftrace_filter
# cat tracing_cpumask
# cat tracing_enabled
# cat tracing_on
next prev parent reply other threads:[~2009-03-23 8:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-23 6:38 Nikanth Karthikesan
2009-03-23 7:15 ` Frederic Weisbecker
2009-03-23 8:41 ` Frederic Weisbecker
2009-03-23 8:44 ` Nikanth Karthikesan
2009-03-23 11:25 ` Frederic Weisbecker
2009-03-23 11:33 ` Nikanth Karthikesan
2009-03-23 8:08 ` KOSAKI Motohiro [this message]
2009-03-23 8:27 ` Nikanth Karthikesan
2009-03-23 8:35 ` Ingo Molnar
2009-03-23 8:38 ` Nikanth Karthikesan
2009-03-23 11:01 ` KOSAKI Motohiro
2009-03-23 14:32 ` Ingo Molnar
2009-03-24 17:23 ` Nikanth Karthikesan
2009-03-24 20:13 ` Frederic Weisbecker
2009-03-25 2:21 ` Steven Rostedt
2009-03-25 4:06 ` Nikanth Karthikesan
2009-03-25 4:19 ` Steven Rostedt
2009-03-25 1:08 ` Rusty Russell
2009-03-25 3:21 ` KOSAKI Motohiro
2009-03-25 7:27 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090323170234.6A12.A69D9226@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=knikanth@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®