From: David Smith Date: Tue, 6 Sep 2011 14:33:17 +0000 (-0500) Subject: Allow STP_WORK_TIMER to be changed on the stap command line. X-Git-Tag: release-1.7~153^2~60 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=17733c29904cd3cafc406908deb054d0ccdd3d70;p=systemtap.git Allow STP_WORK_TIMER to be changed on the stap command line. * runtime/transport/transport.h: Allow user to override STP_WORK_TIMER from the command line using '-DSTP_WORK_TIMER=value'. --- diff --git a/runtime/transport/transport.h b/runtime/transport/transport.h index 1eb1facde..3d85f78e5 100644 --- a/runtime/transport/transport.h +++ b/runtime/transport/transport.h @@ -21,7 +21,9 @@ #endif /* how often the work queue wakes up and checks buffers */ +#ifndef STP_WORK_TIMER #define STP_WORK_TIMER (HZ/100) +#endif static unsigned _stp_nsubbufs; static unsigned _stp_subbuf_size;