From: Steven Rostedt <rostedt@goodmis.org>
To: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: namhyung.kim@lge.com, linux-kernel@vger.kernel.org
Subject: Re: ftrace: reading set_graph_notrace returns "#### all functions enabled ####"
Date: Fri, 11 Apr 2014 14:55:24 -0400 [thread overview]
Message-ID: <20140411145524.6fbda7bb@gandalf.local.home> (raw)
In-Reply-To: <1397240657-bbzt0eax@n-horiguchi@ah.jp.nec.com>
On Fri, 11 Apr 2014 14:24:17 -0400
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> wrote:
> Hi,
>
> I report a minor issue of set_graph_notrace.
> The default value of set_graph_notrace is void (so no function is excluded,)
> but when we read the file, we get "#### all functions enabled ####" like below:
>
> [root@test tracing]# echo "" > set_graph_notrace
> [root@test tracing]# cat set_graph_notrace
> #### all functions enabled ####
>
> This does not happen for set_ftrace_notrace:
>
> [root@test tracing]# echo "" > set_ftrace_notrace
> [root@test tracing]# cat set_ftrace_notrace
> [root@test tracing]#
>
> This is not critical but confusing, so it would be nice if fixed.
Ah, I would say they both are wrong. The set_graph_notrace is rather
new, and probably copied and pasted incorrectly.
But having nothing printed may not be the best thing to show. I think
both should be switched to
#### no functions disabled ####
But this can be done in my 3.16 queue.
Thanks for the report,
-- Steve
parent reply other threads:[~2014-04-11 18:55 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1397240657-bbzt0eax@n-horiguchi@ah.jp.nec.com>]
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=20140411145524.6fbda7bb@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=n-horiguchi@ah.jp.nec.com \
--cc=namhyung.kim@lge.com \
/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®