mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Amit Virdi <amitvi128@gmail.com>
Cc: fweisbec@gmail.com, mingo@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Enabling ftrace on ARM MMU-less system
Date: Tue, 30 Sep 2014 09:03:31 -0400	[thread overview]
Message-ID: <20140930090331.15a7b428@gandalf.local.home> (raw)
In-Reply-To: <CAEOkp47rz9-V_qZkOGDjfsZQj5bRHq2hf8dghS3xRcwdrP9UzQ@mail.gmail.com>

On Tue, 30 Sep 2014 16:26:49 +0530
Amit Virdi <amitvi128@gmail.com> wrote:

> Hi,
> 
> I'm trying to enable Ftrace on my ARM based MMU-less system.
> Unexpectedly, I don't see tracing directory under /sys/kernel/debug
> I have done the following so far but no success:
> 1. Verified that I have enabled these flags in my .config
>     CONFIG_FUNCTION_TRACER
>     CONFIG_FUNCTION_GRAPH_TRACER
>     CONFIG_STACK_TRACER
>     CONFIG_DYNAMIC_FTRACE
> 
> 2. Enabled Ftrace startup steps. The startup log output is
> ----
>

> Can anyone help what I'm missing or if ftrace is supported on MMU-less
> platforms?

Well it's obviously supported if you see the tests running.

Is there anything else under /sys/kernel/debug? If not you need to
mount the debugfs filesytem there. It wont do it itself.

# mount -t debugfs nodev /sys/kernel/debug

-- Steve

      parent reply	other threads:[~2014-09-30 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30 10:56 Amit Virdi
2014-09-30 10:58 ` Amit Virdi
2014-09-30 13:03 ` Steven Rostedt [this message]

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=20140930090331.15a7b428@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=amitvi128@gmail.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.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®