From: Manuel Selva <selva.manuel@gmail.com>
To: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: What is the exact meaning of this parameter ?
Date: Sat, 06 Jun 2015 09:20:48 +0200 [thread overview]
Message-ID: <55729F50.4030308@gmail.com> (raw)
In-Reply-To: <5565F6EB.3090406@gmail.com>
Any idea on that ?
Thanks,
----
Manu
On 05/27/2015 06:55 PM, Manuel Selva wrote:
> Hi all,
>
> I know that the perf_event_mlock_kb kernel parameter allows to limit the
> amount of counters sampling memory that can be mmap'ed by an unprivileged
> user.
>
> Nevertheless, playing with the size I give to mmap some memory using the
> file descriptor returned by perf_event_open I am not able to linkk with the
> perf_event_mlock_kb parameter. Looking into kernel sources, it seems this
> parameter is used in kernel/events/core.c where the perf mmap operation is
> defined but I am not sure to understand the code there. So my question is
> what is the exact meaning of this parameter ?
>
>
prev parent reply other threads:[~2015-06-06 7:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 16:55 What is the exact meaning of this parameter ? Manuel Selva
2015-06-06 7:20 ` Manuel Selva [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=55729F50.4030308@gmail.com \
--to=selva.manuel@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;
as well as URLs for NNTP newsgroup(s).