All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Benjamin King <benjaminking@web.de>
Cc: linux-perf-users <linux-perf-users@vger.kernel.org>
Subject: Re: Re: perf tracepoints for regular user?
Date: Thu, 21 Jan 2016 11:05:05 -0300	[thread overview]
Message-ID: <20160121140505.GB2312@kernel.org> (raw)
In-Reply-To: <trinity-4241dafc-74f5-4560-80af-3b9ba8eefece-1453290633763@3capp-webde-bs16>

Em Wed, Jan 20, 2016 at 12:50:33PM +0100, Benjamin King escreveu:
> Hi Arnaldo,
> 
> > > $ sudo mount -o remount,mode=755 /sys/kernel/debug/tracing
> > > mount: can't find /sys/kernel/debug/tracing in /etc/fstab
> > > $ mount|grep debug
> > > none on /sys/kernel/debug type debugfs (rw,mode=755,mode=755)
> > 
> > Ok, your kernel is old and doesn't have the tracefs:

Not having tracefs, if that is indeed the case, only means that the
remount isn't needed, as what is in tracefs is what, before its
existence, lived in a debugfs directory, /sys/kernel/debug/tracing, i.e.
remounting just /sys/kernel/debug/ would then be enough.

> > [acme@zoo ~]$ mount | egrep \(debug\|trace\)fs
> > debugfs on /sys/kernel/debug type debugfs (rw,relatime,seclabel,mode=755)
> > tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime,mode=755)
> > [...]
> > [acme@zoo ~]$ uname -r
> > 4.3.0+
 
> That's odd. According to kernelnewbies.org (Yes, I am that much of a
> kernel hacker :-) ), tracefs should be in since 4.1 and I'm on 4.2,
> but I can only find CONFIG_DEBUG_FS in my kernel configuration. There
> is no mentioning of a corresponding CONFIG_TRACE_FS there.
 
> I'll try to upgrade to a more recent kernel and stop bugging you guys until then.

  reply	other threads:[~2016-01-21 14:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-15 21:05 perf tracepoints for regular user? Benjamin King
2016-01-17 21:20 ` Milian Wolff
2016-01-17 21:56   ` Milian Wolff
2016-01-19  5:02   ` Benjamin King
2016-01-19 22:18     ` Arnaldo Carvalho de Melo
2016-01-20 11:50       ` Aw: " Benjamin King
2016-01-21 14:05         ` Arnaldo Carvalho de Melo [this message]
2016-01-25 15:43           ` Benjamin King

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=20160121140505.GB2312@kernel.org \
    --to=acme@kernel.org \
    --cc=benjaminking@web.de \
    --cc=linux-perf-users@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.