diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-09-16 16:08:25 -0400 |
---|---|---|
committer | Masami Hiramatsu <mhiramat@redhat.com> | 2009-09-16 16:08:25 -0400 |
commit | bc7cd435fc98bb3af93b6dc09a2c1f5e3b0423d9 (patch) | |
tree | 34f197d87f8673eed74c5359d9a0e39f883811bd /NEWS | |
parent | ae98ab3529e00906645c9a2d0a30f36d9d534f3e (diff) | |
download | systemtap-steved-bc7cd435fc98bb3af93b6dc09a2c1f5e3b0423d9.tar.gz systemtap-steved-bc7cd435fc98bb3af93b6dc09a2c1f5e3b0423d9.tar.xz systemtap-steved-bc7cd435fc98bb3af93b6dc09a2c1f5e3b0423d9.zip |
Signal-based file switching support for relay/ring buffer.
* runtime/staprun/relay.c (switch_outfile): New function for file switching.
(reader_thread): Don't assign empty_handler to SIGUSR2, and switch output
file when receiving signal(SIGUSR2) on ppoll.
(switchfile_handler): Send SIGUSR2 signal to reader threads for file
switching.
(init_relayfs): Assign switchfile_handler to SIGUSR2.
* staprun.1.in: Add FILE SWITCHING BY SIGNAL section.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ SYSTEMTAP_RUNTIME, SYSTEMTAP_TAPSET, SYSTEMTAP_DEBUGINFO_PATH - nss and nss-tools are required to use this feature. +- Support output file switching by SIGUSR2. Users can command running + stapio to switch output file by sending SIGUSR2. + - Memory consumption for scripts involving many uprobes has been dramatically reduced. |