From: Ingo Molnar <mingo@kernel.org>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: David Ahern <dsahern@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Subject: Re: [QUERY] Why does perf-trace need me to be root?
Date: Thu, 3 Oct 2013 08:25:05 +0200 [thread overview]
Message-ID: <20131003062505.GE25345@gmail.com> (raw)
In-Reply-To: <CALkWK0kzXnBKiRyN5HPE-_nScOG-JKjAnD1ujxA_R8tWQWrxZQ@mail.gmail.com>
* Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> David Ahern wrote:
> > If you trust your users make the debugfs mount point rx by group,world.
>
> Thanks David. I can preserve this configuration across reboots by
> putting an entry in fstab, right? How do I preserve the value of
> /proc/sys/kernel/perf_event_paranoid across reboots?
via:
echo 'kernel.perf_event_paranoid = -1' >> /etc/sysctl.conf
I think 'perf trace' should probably print such suggestions when it
notices a privilege problem, to make it far more obvious for new users to
correctly configure their system for easy tracing.
The current output:
comet:~/tip> perf trace
Couldn't read the raw_syscalls tracepoints information!
is as hostile to the user as it gets ;-)
Thanks,
Ingo
next prev parent reply other threads:[~2013-10-03 6:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 9:20 [QUERY] Why does perf-trace need me to be root? Ramkumar Ramachandra
2013-10-02 13:02 ` David Ahern
2013-10-03 5:06 ` Ramkumar Ramachandra
2013-10-03 6:25 ` Ingo Molnar [this message]
2013-10-03 7:20 ` Ramkumar Ramachandra
2013-10-03 7:34 ` Ingo Molnar
2013-10-03 17:21 ` Arnaldo Carvalho de Melo
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=20131003062505.GE25345@gmail.com \
--to=mingo@kernel.org \
--cc=acme@ghostprotocols.net \
--cc=artagnon@gmail.com \
--cc=dsahern@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox