[perfmon2] getting notified at every sample
Status: Beta
Brought to you by:
seranian
From: Dan U. <up...@vi...> - 2010-04-27 19:03:22
|
Hi all- I'm trying to get an interrupt every 1m instructions so that I can read some other information in the system (such as the temperature sensor on a Core 2). I tried building off of pebs_smpl from the libpfm4 git tree, but I can't figure out what I would need to do to get notified every sample: if I'm understanding it correctly, process_smpl_buffer is only called once some buffer in memory overflows. Is there a reasonable way using libpfm4 (or anything from perf) to get notified at every interrupt? Thanks, -dan |