public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6930] New: Flight Recorder on file
@ 2008-10-01 16:51 mhiramat at redhat dot com
  2008-10-02 16:50 ` [Bug runtime/6930] " mhiramat at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mhiramat at redhat dot com @ 2008-10-01 16:51 UTC (permalink / raw)
  To: systemtap

We already have flight recorder on memory. However, sometimes user needs on-file
flight recorder mode for system auditing and system performance logging
(Perhaps, someday someone might want flight recorder over network too, but that
is another story :) ).

This flight-recorder on memory feature requires
- setting maximum file size (and wrap-around writing which is able to overwrite
trace data when file size reaches maximum)
- signal-handler for log-file switching without any information loss (like as
logrotate) for auditing use.

-- 
           Summary: Flight Recorder on file
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mhiramat at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6930

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/6930] Flight Recorder on file
  2008-10-01 16:51 [Bug runtime/6930] New: Flight Recorder on file mhiramat at redhat dot com
@ 2008-10-02 16:50 ` mhiramat at redhat dot com
  2008-10-06 18:59 ` mhiramat at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mhiramat at redhat dot com @ 2008-10-02 16:50 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-10-02 16:49 -------
This also make staprun a daemon process.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6930

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/6930] Flight Recorder on file
  2008-10-01 16:51 [Bug runtime/6930] New: Flight Recorder on file mhiramat at redhat dot com
  2008-10-02 16:50 ` [Bug runtime/6930] " mhiramat at redhat dot com
@ 2008-10-06 18:59 ` mhiramat at redhat dot com
  2008-11-06 21:24 ` mhiramat at redhat dot com
  2009-02-02 10:59 ` mhiramat at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mhiramat at redhat dot com @ 2008-10-06 18:59 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-10-06 18:57 -------
(In reply to comment #0)
> - signal-handler for log-file switching without any information loss (like as
> logrotate) for auditing use.

Oops, this one should be
-switching to new log-file when exceeding specified file size without any loss.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6930

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/6930] Flight Recorder on file
  2008-10-01 16:51 [Bug runtime/6930] New: Flight Recorder on file mhiramat at redhat dot com
  2008-10-02 16:50 ` [Bug runtime/6930] " mhiramat at redhat dot com
  2008-10-06 18:59 ` mhiramat at redhat dot com
@ 2008-11-06 21:24 ` mhiramat at redhat dot com
  2009-02-02 10:59 ` mhiramat at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mhiramat at redhat dot com @ 2008-11-06 21:24 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-11-06 21:23 -------
This feature could be change -F option, or the combination of options.
For example:
Idea A) modifying -F option
$ stap -F memory xxx.stp  -> flight recorder on memory
$ stap -F file=1G -o file xxx.stp -> flight recorder on file(When the file size
reaches 1GB, change to next file (file.1->file.2->file.3->...))
$ stap -F file=1G,2 -o file xxx.stp -> flight recorder on file(When the file
size reaches 1GB, change to next file. And rotate 2 files for
recording(file.1->file.2->file.1->...))

B) or combination of options
$ stap -F xxx.stp  -> flight recorder on memory
$ stap -F -o file -S 1G xxx.stp -> flight recorder on file(When the file size
reaches 1GB, change to next file (file1->file2->file3->...))
$ stap -F -o file -S 1G,2 xxx.stp -> flight recorder on file(When the file size
reaches 1GB, change to next file. And rotate 2 files for
recording(file1->file2->file1->...))


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6930

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

* [Bug runtime/6930] Flight Recorder on file
  2008-10-01 16:51 [Bug runtime/6930] New: Flight Recorder on file mhiramat at redhat dot com
                   ` (2 preceding siblings ...)
  2008-11-06 21:24 ` mhiramat at redhat dot com
@ 2009-02-02 10:59 ` mhiramat at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mhiramat at redhat dot com @ 2009-02-02 10:59 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |mhiramat at redhat dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=6930

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

end of thread, other threads:[~2009-02-01 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-01 16:51 [Bug runtime/6930] New: Flight Recorder on file mhiramat at redhat dot com
2008-10-02 16:50 ` [Bug runtime/6930] " mhiramat at redhat dot com
2008-10-06 18:59 ` mhiramat at redhat dot com
2008-11-06 21:24 ` mhiramat at redhat dot com
2009-02-02 10:59 ` mhiramat at redhat dot com

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).