lkml.org 
[lkml]   [2012]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: perf: prctl(PR_TASK_PERF_EVENTS_DISABLE) has no effect
On 1/28/12 6:01 AM, Ingo Molnar wrote:

>> prctl(PR_TASK_PERF_EVENTS_DISABLE) doesn't appear to disable
>> perf event counters. Here is a demonstration program:
>
> btw., what's your usecase?
>

I'm trying to profile a small section of a long-running program. I ran
into trouble using call-graph recording and I thought this might be an
alternative way of getting what I was after.

-Andrew

--

---------------------------------------------------------------
This email, along with any attachments, is confidential. If you
believe you received this message in error, please contact the
sender immediately and delete all copies of the message.
Thank you.


\
 
 \ /
  Last update: 2012-01-29 00:51    [W:0.689 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site