[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F248938.5030507@rgmadvisors.com>
Date: Sat, 28 Jan 2012 17:48:08 -0600
From: Andrew Steets <asteets@...advisors.com>
To: Ingo Molnar <mingo@...e.hu>
CC: linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Subject: Re: 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists