On Fri, Jul 11, 2014 at 11:20:58AM -0300, Martin Ichilevici de Oliveira wrote:
> On Wed, Jul 09, 2014 at 10:05:55AM -0400, Vince Weaver wrote:
> > Not really sure by what you mean by "real-time", but you can theoretically 
> > set up the perf_event mmap buffer with a low threshold, and have it 
> > configured to send a signal to your program whenever an event comes in.
> > In theory you can get the PEBS-like info out that way.  It's going to have 
> > fairly high overhead though, especially if you set the sample rate high.

SNIP

> 
> Jiri:
> I'm under the impression I'd have to be in a kernel module (or in kernel
> mode in general) to use perf_event_create_kernel_counter(). Is that
> correct?

yep, thats kernel space only

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to