]> sourceware.org Git - systemtap.git/commitdiff
Allow STP_WORK_TIMER to be changed on the stap command line.
authorDavid Smith <dsmith@redhat.com>
Tue, 6 Sep 2011 14:33:17 +0000 (09:33 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 6 Sep 2011 14:33:17 +0000 (09:33 -0500)
* runtime/transport/transport.h: Allow user to override STP_WORK_TIMER
  from the command line using '-DSTP_WORK_TIMER=value'.

runtime/transport/transport.h

index 1eb1facde12e52aeb5ff9904c5ca922cd1bbe587..3d85f78e5025ee452ee5ac6a944220cc7925a82a 100644 (file)
@@ -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;
This page took 0.028744 seconds and 5 git commands to generate.