All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Mohamad Gebai <mohamad.gebai@gmail.com>
Cc: Mohamad Gebai <mohamad.gebai@polymtl.ca>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing
Date: Tue, 15 Oct 2013 12:21:15 +0100	[thread overview]
Message-ID: <p1zjqaye38.fsf@linaro.org> (raw)
In-Reply-To: <1381775755-8421-5-git-send-email-mohamad.gebai@polymtl.ca>


mohamad.gebai@gmail.com writes:

> Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
> ---
>  docs/tracing.txt |   31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/docs/tracing.txt b/docs/tracing.txt
> index bfc261b..64683db 100644
> --- a/docs/tracing.txt
> +++ b/docs/tracing.txt
> @@ -214,6 +214,37 @@ The "ust" backend uses the LTTng Userspace Tracer library.  There are no
>  monitor commands built into QEMU, instead UST utilities should be used to list,
>  enable/disable, and dump traces.
>  
> +Package lttng-tools is required for userspace tracing. After running Qemu, LTTng
> +should be able to list all available events:
> +
> +    lttng list -u

Running this gives me:

<quote>
UST events:
-------------
None
</quote>

Before or after running qemu. What is the mechanism lttng expects to
find out all these events?

> +
> +Create tracing session:
> +
> +    lttng create mysession
> +
> +Enable events:
> +
> +    lttng enable-event qemu:g_malloc -u
> +
> +Where the events can either be a comma-separated list of events, or "-a" to
> +enable all tracepoint events. Start and stop tracing as needed:
> +
> +    lttng start
> +    lttng stop
> +
> +View the trace:
> +
> +    lttng view
> +
> +Destroy tracing session:
> +
> +    lttng destroy
> +
> +Babeltrace can be used at any later time to view the trace:
> +
> +    babeltrace $HOME/lttng-traces/mysession-<date>-<time>
> +

The rest of this looks OK and worked on my system.

>  === SystemTap ===
>  
>  The "dtrace" backend uses DTrace sdt probes but has only been tested with


-- 
Alex Bennée

  reply	other threads:[~2013-10-15 11:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 18:35 [Qemu-devel] [RFC PATCH v3 0/5] Fix UST backend for LTTng 2.x Mohamad Gebai
2013-10-14 18:35 ` [Qemu-devel] [RFC PATCH v3 1/5] Fix configure script " Mohamad Gebai
2013-10-16 12:06   ` Alex Bennée
2013-10-14 18:35 ` [Qemu-devel] [RFC PATCH v3 2/5] Modified the tracetool framework " Mohamad Gebai
2013-10-16 12:06   ` Alex Bennée
2013-10-14 18:35 ` [Qemu-devel] [RFC PATCH v3 3/5] Adapt Makefiles to the new LTTng ust interface Mohamad Gebai
2013-10-16 12:08   ` Alex Bennée
2013-10-17  1:04     ` Mohamad Gebai
2013-10-14 18:35 ` [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing Mohamad Gebai
2013-10-15 11:21   ` Alex Bennée [this message]
2013-10-15 16:07     ` Mohamad Gebai
2013-10-16 12:05       ` Alex Bennée
2013-10-17  1:02         ` Mohamad Gebai
2013-10-17  9:20           ` Alex Bennée
2013-10-18  6:38             ` Mohamad Gebai
2013-10-14 18:35 ` [Qemu-devel] [RFC PATCH v3 5/5] Add ust generated files to .gitignore Mohamad Gebai
2013-10-16 12:08   ` Alex Bennée

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=p1zjqaye38.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=mohamad.gebai@gmail.com \
    --cc=mohamad.gebai@polymtl.ca \
    --cc=qemu-devel@nongnu.org \
    /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.