]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: Add support for manual triggered cyclics
authorTomas Jedlicka <tomas.jedlicka@oracle.com>
Sun, 2 Jul 2017 16:17:01 +0000 (12:17 -0400)
committerTomas Jedlicka <tomas.jedlicka@oracle.com>
Wed, 12 Jul 2017 19:37:00 +0000 (21:37 +0200)
commit8455be24d76b8af46ea0dac65d9ef07237cbf3aa
tree729e0719a8ad634b24af7378edfc59cf4d2f2c5a
parentc4fb0f186ef2a4deedc786cc11770b5d456ce8a5
dtrace: Add support for manual triggered cyclics

In some scenarios it is better if a client of cyclic susbstem can reprogram cyclic on
his own. This is not possible with current implementation.

This chage adds cyclic_reprogram() that can be used to schedule cyclic from inside and
outside of its handler. A manually triggered cyclic is distinguished from other types
by having its interval set to -1.

Orabug: 26384803

Signed-off-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
include/linux/cyclic.h
kernel/dtrace/cyclic.c