]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: implement omni-present cyclics
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 14 Mar 2014 15:37:43 +0000 (11:37 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:34 +0000 (15:29 +0100)
commita7a3548dfa1b6c384990700a2a463f7e6c173ee9
tree47e2c1680ac82e8da71b4f164542a697c3df7d3a
parent3c7a6aaf1db7f25d55db4a152eecaa55f35b1b74
dtrace: implement omni-present cyclics

This commit adds support for omni-present cyclics.  An omni-present
cyclic is one that fires on every CPU on the system, each at the same
frequency/interval.  They are implemented based on regular cyclics,
pinned to specific CPUs.  The implementation is such that hotplugging
CPUs is supported, i.e. when new CPUs come online, cyclics are started
on them for every omni-present cyclic that is currently active, and
when a CPU goes offline, the cyclics associated with that CPU (at least
those that are part of an omni-present cyclic) are removed.

Orabug: 18323501

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Jerry Snitselaar <jerry.snitselaar@oracle.com>
kernel/dtrace/cyclic.c