From 17733c29904cd3cafc406908deb054d0ccdd3d70 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 6 Sep 2011 09:33:17 -0500 Subject: [PATCH] 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'. --- runtime/transport/transport.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.43.5