All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Olsa <jolsa@redhat.com>
To: Martin Ichilevici de Oliveira <martin.i.oliveira@gmail.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>,
	linux-perf-users@vger.kernel.org
Subject: Re: Interrupt caused by software events
Date: Sat, 12 Jul 2014 23:15:12 +0200	[thread overview]
Message-ID: <20140712211512.GA29028@krava.redhat.com> (raw)
In-Reply-To: <20140711142058.GA27580@gamayun>

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

  parent reply	other threads:[~2014-07-12 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 14:42 Interrupt caused by software events Martin Ichilevici de Oliveira
2014-07-09 13:54 ` Jiri Olsa
2014-07-09 14:05 ` Vince Weaver
2014-07-11 14:20   ` Martin Ichilevici de Oliveira
2014-07-11 15:26     ` Vince Weaver
2014-07-12 21:15     ` Jiri Olsa [this message]
2014-07-13  3:34     ` Andi Kleen

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=20140712211512.GA29028@krava.redhat.com \
    --to=jolsa@redhat.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=martin.i.oliveira@gmail.com \
    --cc=vincent.weaver@maine.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.