From: pmekeze@yahoo.fr (patrick mekeze)
Subject: [ltt-dev] Re : Run simultaneous lttng kerner tracer and userspace tracer
Date: Mon, 21 Jun 2010 08:36:06 +0000 (GMT) [thread overview]
Message-ID: <360864.22464.qm@web28609.mail.ukl.yahoo.com> (raw)
In-Reply-To: <20100619161145.GF22882@Krystal>
thank mathieu for this clear answer.
i have run my application as you have explained and it work very well.
but what i?was searching about is?how to run and trace a userspace application without use usttrace.
now i?have found?a answer of this question?in the userspace trace?manuel.
the answer consist to mount the?ltt-userspace-event module in the?kernel.
this will enable in the?/mnt/debugfs/ltt directory a virtual file name's write_event.
writing in this file would generates a event in the kernel and the string that you have write would be the event parameter
thank,
Patrick??
???
?
________________________________
De : Mathieu Desnoyers <compudj at krystal.dyndns.org>
? : patrick mekeze <pmekeze at yahoo.fr>
Cc : ltt-dev at lists.casi.polymtl.ca
Envoy? le : Sam 19 juin 2010, 18h 11min 45s
Objet?: Re: [ltt-dev] Run simultaneous lttng kerner tracer and userspace tracer
* patrick mekeze (pmekeze at yahoo.fr) wrote:
> Hello every boby!
>
> I am a high school student and it is now about one month that i decided to interest on lttng projet because i was searching about some metric tools for unix systems.
> The goal of my research is to develop a tool which would work as a "fligth recover " for a unix system running on a power PC hardward support.
>
> i decided to work for the first time on an?intel processor and after, i will make a croos compilation for my target which is a power PC processor
>
> I have already built a linux kernel with the lttng patch and i have install all the need tool to have a lttv analyser
>
> Because i would like to trace some programm running on userspace, i have install usttrace tool.
>
> After this i wrote a short application with a marker inside as i see in the usttrace tutorial available on website.
>
> When i run this with command $usttrace ./testprogramm , i have in the promt the name of directory where trace are logged and i can use lttv to analyze it. here i can see well my event "myevent" on the wiever.
>
> But? when i activated kernel trace with command $ lttctl -C -w /tmp/trace1 trace1, and run my userspace programm with command $ ./testprogramm,?i am not?able to get the myevent.
>
> so that, i want to know how tu run lttctl tools and userspace programm to get and analyze simultaneous on the lttv-gui? ,kernel event and userspace event.
lttctl is only for kernel traces. If you want to combine both traces:
lttctl -C -w /tmp/trace1 trace
usttrace myprog
lttctl -D trace
lttv-gui -t /tmp/trace1 -t /path_to_ust_saved_trace
That should work. And don't forget to edit the usttrace source code to
select the kernel tracer compatible trace clock timestamp source, else
your timestamps will be desynchronized.
Mathieu
>
> thank you all for your help.
>
> Patrick
>
>
>? ? ?
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100621/da6e858f/attachment-0002.htm>
prev parent reply other threads:[~2010-06-21 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1275580802.22157.ltt-dev@lists.casi.polymtl.ca>
[not found] ` <AEEC49F6191270438015E45AEBE23C5F19F63A08@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com>
[not found] ` <938079.81502.qm@web28603.mail.ukl.yahoo.com>
2010-06-19 16:11 ` [ltt-dev] " Mathieu Desnoyers
2010-06-21 8:36 ` patrick mekeze [this message]
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=360864.22464.qm@web28609.mail.ukl.yahoo.com \
--to=pmekeze@yahoo.fr \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox