summaryrefslogtreecommitdiffstats
path: root/loc2c-test.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-09-16 16:08:38 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-09-16 16:08:38 -0400
commitc3a32b01d74946d8ae4d79534aeb194f1c66c72a (patch)
tree797ef529ef7019d73de29d88d93ad04386f2d225 /loc2c-test.c
parentbc7cd435fc98bb3af93b6dc09a2c1f5e3b0423d9 (diff)
downloadsystemtap-steved-c3a32b01d74946d8ae4d79534aeb194f1c66c72a.tar.gz
systemtap-steved-c3a32b01d74946d8ae4d79534aeb194f1c66c72a.tar.xz
systemtap-steved-c3a32b01d74946d8ae4d79534aeb194f1c66c72a.zip
Signal-based file switching support for old relay
* runtime/staprun/relay_old.c (switch_oldoutfile): New function for file switching. (process_subbufs): Use switch_oldoutfile. (reader_thread): Use ppoll() instead of poll() for receiving SIGUSR2 and switch output file when receiving a signal(SIGUSR2). (switchfile_handler): Send SIGUSR2 signal to reader threads for file switching. (init_oldrelayfs): Assign switchfile_handler to SIGUSR2.
Diffstat (limited to 'loc2c-test.c')
0 files changed, 0 insertions, 0 deletions