linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manuel Selva <selva.manuel@gmail.com>
To: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: What is the exact meaning of this parameter ?
Date: Wed, 27 May 2015 18:55:07 +0200	[thread overview]
Message-ID: <5565F6EB.3090406@gmail.com> (raw)

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 ?


-- 
Manu

             reply	other threads:[~2015-05-27 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 16:55 Manuel Selva [this message]
2015-06-06  7:20 ` What is the exact meaning of this parameter ? Manuel Selva

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=5565F6EB.3090406@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).