[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust t
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing |
Date: |
Tue, 15 Oct 2013 12:21:15 +0100 |
User-agent: |
mu4e 0.9.9.6pre2; emacs 24.3.1 |
address@hidden writes:
> Signed-off-by: Mohamad Gebai <address@hidden>
> ---
> 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
- [Qemu-devel] [RFC PATCH v3 0/5] Fix UST backend for LTTng 2.x, Mohamad Gebai, 2013/10/14
- [Qemu-devel] [RFC PATCH v3 2/5] Modified the tracet ool framework for LTTng 2.x., Mohamad Gebai, 2013/10/14
- [Qemu-devel] [RFC PATCH v3 1/5] Fix configure script for LTTng 2.x, Mohamad Gebai, 2013/10/14
- [Qemu-devel] [RFC PATCH v3 3/5] Adapt Makefiles to the new LTTng ust interface., Mohamad Gebai, 2013/10/14
- [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Mohamad Gebai, 2013/10/14
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing,
Alex Bennée <=
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Mohamad Gebai, 2013/10/15
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Alex Bennée, 2013/10/16
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Mohamad Gebai, 2013/10/16
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Alex Bennée, 2013/10/17
- Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing, Mohamad Gebai, 2013/10/18
[Qemu-devel] [RFC PATCH v3 5/5] Add ust generated files to .gitignore, Mohamad Gebai, 2013/10/14