All of lore.kernel.org
 help / color / mirror / Atom feed
* perf_event wakeup_events = 0
@ 2019-09-06 23:28 ` Theodore Dubois
  0 siblings, 0 replies; 12+ messages in thread
From: Theodore Dubois @ 2019-09-06 23:28 UTC (permalink / raw)
  To: a.p.zijlstra; +Cc: linux-kernel, kernelnewbies

The man page for perf_event_open(2) says that recent kernels treat a 0
value for wakeup_events the same as 1, which I believe means it will
notify after a single sample. However, strace on perf(1) shows that it
uses wakeup_events=0, and it's definitely not waking up on every
sample (it seems to be waking up every few seconds.)
tools/perf/design.txt says "Normally a notification is generated for
every page filled". Is the documentation wrong, or am I
misunderstanding something?

~Theodore

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

end of thread, other threads:[~2019-09-16 15:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-06 23:28 perf_event wakeup_events = 0 Theodore Dubois
2019-09-06 23:28 ` Theodore Dubois
2019-09-07 13:40 ` Valdis Klētnieks
2019-09-07 13:40   ` Valdis Klētnieks
2019-09-07 16:14   ` Theodore Dubois
2019-09-07 16:14     ` Theodore Dubois
2019-09-07 22:00     ` Valdis Klētnieks
2019-09-07 22:00       ` Valdis Klētnieks
2019-09-07 22:45     ` Valdis Klētnieks
2019-09-07 22:45       ` Valdis Klētnieks
2019-09-07 23:27       ` Theodore Dubois
2019-09-07 23:27         ` Theodore Dubois

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.