]> sourceware.org Git - systemtap.git/commit
Allow tuning of reader thread ppoll timeout value
authorFrederic Turgis <f-turgis@ti.com>
Thu, 24 May 2012 01:21:06 +0000 (21:21 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 24 May 2012 01:21:06 +0000 (21:21 -0400)
commita31f94d12de20b5a1d0489815ab2754c0a17cbba
treeba44399c5e7e9e01de1341ef6ad704032cb90940
parent6b0ba83bde0ad1f75f177ff635d778bcec9c082b
Allow tuning of reader thread ppoll timeout value

Default value of 200ms causes too many wake-ups for embedded platforms
low power use-cases. Timeout of several seconds is expected on these.
New option is -T x where x is timeout in ms.

* runtime/staprun/common.c (parse_args): Parse -T option.
  (usage): Mention it.
* runtime/staprun/relay.c (reader_thread): Use -T value to override default
  polling interval.
* runtime/staprun/staprun.8: Document it.
runtime/staprun/common.c
runtime/staprun/relay.c
runtime/staprun/staprun.8
runtime/staprun/staprun.h
This page took 0.028783 seconds and 5 git commands to generate.