From: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>
To: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: "linux-perf-use." <linux-perf-users@vger.kernel.org>
Subject: Re: /tmp/perf-PID.map ownership
Date: Thu, 12 Nov 2015 16:04:44 -0300 [thread overview]
Message-ID: <20151112190444.GB7160@kernel.org> (raw)
In-Reply-To: <CAE40pdcfdBV_xwJtuBvVe3Fjqxa69W7XT_LN6r9UH94wcfEQeQ@mail.gmail.com>
Em Thu, Nov 12, 2015 at 10:59:36AM -0800, Brendan Gregg escreveu:
> On Thu, Nov 12, 2015 at 10:52 AM, Arnaldo Carvalho de Melo
> <arnaldo.melo@gmail.com> wrote:
> > Em Thu, Nov 12, 2015 at 10:27:26AM -0800, Brendan Gregg escreveu:
> >> G'Day,
> >>
> >> # perf record -F 99 -a -g -- sleep 30
> >> [...]
> >> # perf report -n --stdio
> >> File /tmp/perf-25958.map not owned by current user or root, ignoring it.
> >>
> >> Can root bypass this test? I'm root, and profiling apps from different
> >
> > In other places such tests are overridable via '-f' (force), this one
> > should too, I think.
> >
> > # perf report
> > File perf.data not owned by current user or root (use -f to override)
> > [root@zoo linux]# ls -la perf.data
> > -rw-------. 1 acme acme 20032 Nov 12 15:50 perf.data
>
> Yes, a -f option would work too...
Cooking up a patch right now.
- Arnaldo
next prev parent reply other threads:[~2015-11-12 19:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 18:27 /tmp/perf-PID.map ownership Brendan Gregg
2015-11-12 18:52 ` Arnaldo Carvalho de Melo
2015-11-12 18:59 ` Brendan Gregg
2015-11-12 19:04 ` Arnaldo Carvalho de Melo [this message]
2015-11-12 19:49 ` Arnaldo Carvalho de Melo
2015-11-12 20:01 ` Brendan Gregg
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=20151112190444.GB7160@kernel.org \
--to=arnaldo.melo@gmail.com \
--cc=brendan.d.gregg@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox