All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Anthony Liguori <aliguori@us.ibm.com>,
	Avi Kivity <avi@redhat.com>
Subject: Re: [PATCH] kvm: add flightrecorder script
Date: Tue, 13 Mar 2012 20:46:52 -0300	[thread overview]
Message-ID: <20120313234652.GA15362@amt.cnet> (raw)
In-Reply-To: <1331302420-29737-1-git-send-email-stefanha@linux.vnet.ibm.com>

On Fri, Mar 09, 2012 at 02:13:40PM +0000, Stefan Hajnoczi wrote:
> The kvm kernel module includes a number of trace events which can be
> useful when debugging system behavior.  Even on production systems these
> trace events can be used to observe guest behavior and identify the
> source of problems.
> 
> The kvm_flightrecorder script is a command-line wrapper for the
> /sys/kernel/debug/tracing interface.  Kernel symbols do not need to be
> installed.
> 
> This script captures a fixed-size buffer of KVM trace events.  Recent
> events overwrite the oldest events when the buffer size is exceeded and
> it is possible to leave KVM tracing enabled for any period of time with
> just a fixed-size buffer.  If the buffer is large enough this script is
> a useful tool for collecting detailed information after an issue occurs
> with a guest.  Hence the name "flight recorder".
> 
> The script can also be used in 'tail' mode to simply view KVM trace
> events as they occur.  This is handy for development and to ensure that
> the guest is indeed running.
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> ---
>  scripts/kvm/kvm_flightrecorder |  126 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 126 insertions(+), 0 deletions(-)
>  create mode 100755 scripts/kvm/kvm_flightrecorder

Applied to uq/master, thanks.


WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] kvm: add flightrecorder script
Date: Tue, 13 Mar 2012 20:46:52 -0300	[thread overview]
Message-ID: <20120313234652.GA15362@amt.cnet> (raw)
In-Reply-To: <1331302420-29737-1-git-send-email-stefanha@linux.vnet.ibm.com>

On Fri, Mar 09, 2012 at 02:13:40PM +0000, Stefan Hajnoczi wrote:
> The kvm kernel module includes a number of trace events which can be
> useful when debugging system behavior.  Even on production systems these
> trace events can be used to observe guest behavior and identify the
> source of problems.
> 
> The kvm_flightrecorder script is a command-line wrapper for the
> /sys/kernel/debug/tracing interface.  Kernel symbols do not need to be
> installed.
> 
> This script captures a fixed-size buffer of KVM trace events.  Recent
> events overwrite the oldest events when the buffer size is exceeded and
> it is possible to leave KVM tracing enabled for any period of time with
> just a fixed-size buffer.  If the buffer is large enough this script is
> a useful tool for collecting detailed information after an issue occurs
> with a guest.  Hence the name "flight recorder".
> 
> The script can also be used in 'tail' mode to simply view KVM trace
> events as they occur.  This is handy for development and to ensure that
> the guest is indeed running.
> 
> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> ---
>  scripts/kvm/kvm_flightrecorder |  126 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 126 insertions(+), 0 deletions(-)
>  create mode 100755 scripts/kvm/kvm_flightrecorder

Applied to uq/master, thanks.

  parent reply	other threads:[~2012-03-13 23:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 14:13 [PATCH] kvm: add flightrecorder script Stefan Hajnoczi
2012-03-09 14:13 ` [Qemu-devel] " Stefan Hajnoczi
2012-03-09 19:53 ` Anthony Liguori
2012-03-09 19:53   ` [Qemu-devel] " Anthony Liguori
2012-03-12 12:08 ` Avi Kivity
2012-03-12 12:08   ` [Qemu-devel] " Avi Kivity
2012-03-12 14:48   ` Stefan Hajnoczi
2012-03-12 14:48     ` [Qemu-devel] " Stefan Hajnoczi
2012-03-12 17:31     ` Avi Kivity
2012-03-12 17:31       ` [Qemu-devel] " Avi Kivity
2012-03-13 23:46 ` Marcelo Tosatti [this message]
2012-03-13 23:46   ` Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120313234652.GA15362@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.