linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What is the exact meaning of this parameter ?
@ 2015-05-27 16:55 Manuel Selva
  2015-06-06  7:20 ` Manuel Selva
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Selva @ 2015-05-27 16:55 UTC (permalink / raw)
  To: linux-perf-users@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-06  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 16:55 What is the exact meaning of this parameter ? Manuel Selva
2015-06-06  7:20 ` Manuel Selva

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).