public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Signal-based file switching support
@ 2009-09-09 16:32 Masami Hiramatsu
  2009-09-09 16:33 ` [PATCH 1/3] Signal-based file switching support for relay/ring buffer Masami Hiramatsu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Masami Hiramatsu @ 2009-09-09 16:32 UTC (permalink / raw)
  To: systemtap

Hi,

This patch series adds signal-based file switching support on systemtap
runtime. This feature allows administators to move their stap logs to
other storage safely on file-flight recorder mode (-F and -o option
specified).

E.g.

$ stap -F -o logfile -S 100 systemlog.stp
12345
$ ls
logfile.0
<<something happened, or backup routine work>>
$ kill -USR1 12345
$ ls
logfile.0 logfile.1
$ mv logfile.0 /mnt/backup/ 

Thank you,

---
 
Masami Hiramatsu (3):
      Add signal based file switching testcase
      Signal-based file switching support for old relay
      Signal-based file switching support for relay/ring buffer.


 runtime/staprun/relay.c                 |   60 ++++++++++++++++++----
 runtime/staprun/relay_old.c             |   83 +++++++++++++++++++++++++++----
 testsuite/systemtap.base/flightrec1.exp |   12 ++++
 testsuite/systemtap.base/flightrec4.exp |   56 +++++++++++++++++++++
 testsuite/systemtap.base/flightrec5.exp |   64 ++++++++++++++++++++++++
 5 files changed, 251 insertions(+), 24 deletions(-)
 create mode 100644 testsuite/systemtap.base/flightrec4.exp
 create mode 100644 testsuite/systemtap.base/flightrec5.exp

-- 
Masami Hiramatsu
 
Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
 
e-mail: mhiramat@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-12  0:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-09 16:32 [PATCH 0/3] Signal-based file switching support Masami Hiramatsu
2009-09-09 16:33 ` [PATCH 1/3] Signal-based file switching support for relay/ring buffer Masami Hiramatsu
2009-09-09 16:33 ` [PATCH 2/3] Signal-based file switching support for old relay Masami Hiramatsu
2009-09-09 16:33 ` [PATCH 3/3] Add signal based file switching testcase Masami Hiramatsu
2009-09-12  0:48 ` [PATCH 0/3] Signal-based file switching support Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).