diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-11-26 13:59:53 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-11-26 13:59:53 -0500 |
commit | 8d59b39f96b89eb055d77d422a923c499d2a5fca (patch) | |
tree | c40a45b0356c97f66c4c7b2dcd262b5777c4c1be /runtime/autoconf-synchronize-sched.c | |
parent | 391d64d0997a41035f2af5f13d41dae00300061b (diff) | |
download | systemtap-steved-8d59b39f96b89eb055d77d422a923c499d2a5fca.tar.gz systemtap-steved-8d59b39f96b89eb055d77d422a923c499d2a5fca.tar.xz systemtap-steved-8d59b39f96b89eb055d77d422a923c499d2a5fca.zip |
safety: add paranoid call to synchronize_sched() during shutdown process
Diffstat (limited to 'runtime/autoconf-synchronize-sched.c')
-rw-r--r-- | runtime/autoconf-synchronize-sched.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-synchronize-sched.c b/runtime/autoconf-synchronize-sched.c new file mode 100644 index 00000000..0291092e --- /dev/null +++ b/runtime/autoconf-synchronize-sched.c @@ -0,0 +1,6 @@ +#include <linux/sched.h> + +void foo (void) +{ + synchronize_sched (); +} |