linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Interrupt caused by software events
@ 2014-07-08 14:42 Martin Ichilevici de Oliveira
  2014-07-09 13:54 ` Jiri Olsa
  2014-07-09 14:05 ` Vince Weaver
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Ichilevici de Oliveira @ 2014-07-08 14:42 UTC (permalink / raw)
  To: linux-perf-users

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Hello,

I'm learning the perf_events programming interface and I'm not sure if
what I'm trying to do is possible. I could only find the perf_event_open
documentation, but unfortunately that's not enough for my needs, as it
only counts the number of events that happened.

I'm looking for a way to determine which instruction caused some events:
something similar to what perf annotate does, but in an online fashion. 
Ideally, I'd like to have some kind of handler that gets called whenever
a perf event occurs. Is that even possible? If not, is there any way I 
could get this information in a real-time way?

I'll be using PEBS or IBS events.

Thank you,
-Martin

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2014-07-13  3:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-07-13  3:34     ` Andi Kleen

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