From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tracing/function-return-tracer: set a more human readable output
Date: Wed, 26 Nov 2008 03:14:50 +0100 [thread overview]
Message-ID: <20081126021450.GA17617@elte.hu> (raw)
In-Reply-To: <20081126003936.GA26937@elte.hu>
the regex filter doesnt work well yet when used with the graph tracer:
[ 2994.079079] ------------[ cut here ]------------
[ 2994.079079] WARNING: at kernel/trace/ftrace.c:373 ftrace_bug+0x8c/0x1ce()
[ 2994.079079] Modules linked in:
[ 2994.079079] Pid: 12, comm: kstop/0 Not tainted 2.6.28-rc6-tip #2056
[ 2994.079079] Call Trace:
[ 2994.079079] [<c02273dd>] warn_on_slowpath+0x46/0x60
[ 2994.079079] [<c0268308>] ? trace_graph_return+0x89/0xa7
[ 2994.079079] [<c0268308>] ? trace_graph_return+0x89/0xa7
[ 2994.079079] [<c0213e85>] ? ftrace_return_to_handler+0x6b/0x74
[ 2994.079079] [<c0357f66>] ? memcpy+0xe/0x31
[ 2994.079079] [<c02633e6>] ? rb_commit+0x29/0x2d
[ 2994.079079] [<c0264c8b>] ? ring_buffer_unlock_commit+0x15/0x1a
[ 2994.079079] [<c0213ece>] ? ftrace_modify_code+0x21/0xa3
[ 2994.079079] [<c0213e85>] ? ftrace_return_to_handler+0x6b/0x74
[ 2994.079079] [<c026c3ce>] ? probe_kernel_read+0xe/0x5c
[ 2994.079079] [<c0261ec7>] ? trace_selftest_dynamic_test_func+0x3/0xc
[ 2994.079079] [<c0203926>] ? return_to_handler+0xa/0x14
[ 2994.079079] [<c0261ec7>] ? trace_selftest_dynamic_test_func+0x3/0xc
[ 2994.079079] [<c0213ee5>] ? ftrace_modify_code+0x38/0xa3
[ 2994.079079] [<c0261ec7>] ? trace_selftest_dynamic_test_func+0x3/0xc
[ 2994.079079] [<c0262749>] ftrace_bug+0x8c/0x1ce
[ 2994.079079] [<c026299c>] ftrace_replace_code+0x111/0x13d
[ 2994.079079] [<c0253b53>] ? stop_cpu+0x0/0xa5
[ 2994.079079] [<c02629e6>] __ftrace_modify_code+0x1e/0x32
[ 2994.079079] [<c0253bbe>] stop_cpu+0x6b/0xa5
[ 2994.079079] [<c020391c>] return_to_handler+0x0/0x14
[ 2994.079079] [<c020391c>] return_to_handler+0x0/0x14
[ 2994.079079] [<c0237fc1>] ? autoremove_wake_function+0x0/0x35
[ 2994.079079] [<c023584b>] ? worker_thread+0x0/0xc7
[ 2994.079079] [<c0237eba>] kthread+0x40/0x66
[ 2994.079079] [<c0237e7a>] ? kthread+0x0/0x66
[ 2994.079079] [<c02038cb>] kernel_thread_helper+0x7/0x10
[ 2994.079079] ---[ end trace bff97d149b80ecde ]---
[ 2994.079079] ftrace failed to modify [<c0261ec7>] trace_selftest_dynamic_test_func+0x3/0xc
[ 2994.079079] actual: e8:0c:1a:fa:ff
produced via:
# cd /debug/tracing/
# cat set_ftrace_filter
# echo schedule > set_ftrace_filter
# cat set_ftrace_filter
cat: set_ftrace_filter: No such device
Ingo
next prev parent reply other threads:[~2008-11-26 2:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 23:57 [PATCH] tracing/function-return-tracer: set a more human readable output Frederic Weisbecker
2008-11-26 0:39 ` Ingo Molnar
2008-11-26 2:04 ` Ingo Molnar
2008-11-26 2:10 ` [PATCH] tracing: function graph tracer, fix Ingo Molnar
2008-11-26 2:19 ` [PATCH] tracing/function-return-tracer: set a more human readable output Steven Rostedt
2008-11-26 11:32 ` Frédéric Weisbecker
2008-11-26 12:21 ` Steven Rostedt
2008-11-26 13:22 ` Frédéric Weisbecker
2008-11-26 11:11 ` Frédéric Weisbecker
2008-11-26 17:09 ` Steven Rostedt
2008-11-26 2:12 ` Ingo Molnar
2008-11-26 11:11 ` Frédéric Weisbecker
2008-11-26 2:14 ` Ingo Molnar [this message]
2008-11-26 2:21 ` Steven Rostedt
2008-11-26 2:42 ` Ingo Molnar
2008-11-26 2:51 ` Steven Rostedt
2008-11-26 11:19 ` Frédéric Weisbecker
2008-11-26 11:38 ` 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=20081126021450.GA17617@elte.hu \
--to=mingo@elte.hu \
--cc=fweisbec@gmail.com \
--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