From: Ingo Molnar <mingo@elte.hu>
To: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: linux-kernel@vger.kernel.org, paulus@samba.org, hpa@zytor.com,
mingo@redhat.com, eranian@google.com, tzanussi@gmail.com,
penberg@cs.helsinki.fi, torvalds@linux-foundation.org,
efault@gmx.de, peterz@infradead.org, davej@redhat.com,
davem@davemloft.net, fweisbec@gmail.com, kees.cook@canonical.com,
tglx@linutronix.de, linux-tip-commits@vger.kernel.org
Subject: Re: [tip:perf/urgent] perf symbols: Handle /proc/sys/kernel/kptr_restrict
Date: Fri, 27 May 2011 10:42:18 +0200 [thread overview]
Message-ID: <20110527084218.GC21386@elte.hu> (raw)
In-Reply-To: <20110526213058.GC30593@ghostprotocols.net>
* Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
> Em Thu, May 26, 2011 at 09:39:46PM +0200, Ingo Molnar escreveu:
> >
> > * tip-bot for Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
> >
> > > Commit-ID: ec80fde746e3ccf93895d25ae1a7071c9af52585
> > > Gitweb: http://git.kernel.org/tip/ec80fde746e3ccf93895d25ae1a7071c9af52585
> > > Author: Arnaldo Carvalho de Melo <acme@redhat.com>
> > > AuthorDate: Thu, 26 May 2011 09:53:51 -0300
> > > Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
> > > CommitDate: Thu, 26 May 2011 11:15:25 -0300
> > >
> > > perf symbols: Handle /proc/sys/kernel/kptr_restrict
> >
> > Ok, things are much better now with kptr_restrict turned on - but i
> > still see a few rough edges in practice.
> >
> > For example 'perf top' says:
> >
> > aldebaran:~/linux> perf top
> > [kernel.kallsyms] with build id 122214021a666675f6e5ff97d70a85ce7139c0e7 not found, continuing without symbols
> > The (null) file can't be used
> >
> > Now we've confused the user, havent we? :-)
>
> The ones that do:
>
> # echo -1 > /proc/sys/kernel/perf_event_paranoid
>
> Right?
Or the ones that do:
aldebaran:~> ./loop_yield &
[1] 7557
aldebaran:~>
aldebaran:~> perf top -p 7557
[kernel.kallsyms] with build id 44d9a989eabbd79e486bc079d6b743d397c204e0 not found, continuing without symbols
The (null) file can't be used
Also, we might eventually make perf events more widely available by
default, so even default 'perf top' might do something useful for
unprivileged users.
> Trying that, not usually something I do :)
i run all my perf workflow unprivileged - as root you can always typo
catastrophically :-)
Thanks,
Ingo
prev parent reply other threads:[~2011-05-27 8:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 19:21 [tip:perf/urgent] perf symbols: Handle /proc/sys/kernel/kptr_restrict tip-bot for Arnaldo Carvalho de Melo
2011-05-26 19:39 ` Ingo Molnar
2011-05-26 21:20 ` Arnaldo Carvalho de Melo
2011-05-27 8:38 ` Ingo Molnar
2011-05-26 21:28 ` Arnaldo Carvalho de Melo
2011-05-27 8:35 ` Ingo Molnar
2011-05-27 15:46 ` Linus Torvalds
2011-05-27 15:57 ` Arnaldo Carvalho de Melo
2011-05-26 21:30 ` Arnaldo Carvalho de Melo
2011-05-27 8:42 ` Ingo Molnar [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=20110527084218.GC21386@elte.hu \
--to=mingo@elte.hu \
--cc=acme@redhat.com \
--cc=davej@redhat.com \
--cc=davem@davemloft.net \
--cc=efault@gmx.de \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=hpa@zytor.com \
--cc=kees.cook@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=penberg@cs.helsinki.fi \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=tzanussi@gmail.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