All of lore.kernel.org
 help / color / mirror / Atom feed
* Sampling hardware counter values with timers
@ 2016-05-13  4:00 Keno Fischer
  2016-05-13 13:40 ` Andi Kleen
  0 siblings, 1 reply; 5+ messages in thread
From: Keno Fischer @ 2016-05-13  4:00 UTC (permalink / raw)
  To: linux-perf-users

Hello everyone,

I was wondering if it is possible (either using the `perf` user space
tool or using the perf_events API) to periodically sample the value of
a hardware counter (in my particular case I'd like to sample the
retired-branch-counter). I know it is possible to do the opposite
(i.e. sample a timestamp every specified number of branches), but I
wasn't able to see an easy way to sample the hardware counter at a
specified frequency. Is this possible?

Thanks,
Keno

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

end of thread, other threads:[~2016-05-13 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13  4:00 Sampling hardware counter values with timers Keno Fischer
2016-05-13 13:40 ` Andi Kleen
2016-05-13 14:44   ` Keno Fischer
2016-05-13 17:42     ` Vince Weaver
2016-05-13 18:26       ` Keno Fischer

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.