All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
To: Wang Nan <wangnan0@huawei.com>
Cc: "Xinwei Hu" <huxinwei@huawei.com>,
	"diamon-discuss@lists.linuxfoundation.org"
	<diamon-discuss@lists.linuxfoundation.org>,
	lttng-dev@lists.lttng.org,
	"Geneviève Bastien" <gbastien+lttng@versatic.net>,
	"tracecompass developer discussions"
	<tracecompass-dev@eclipse.org>
Subject: Re: [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection.
Date: Tue, 10 Feb 2015 03:02:20 -0500	[thread overview]
Message-ID: <54D9BB0C.4040408@voxpopuli.im> (raw)
In-Reply-To: <54D98F3A.8020202@huawei.com>

On 2015-02-09 11:55 PM, Wang Nan wrote:
> On 2015/2/10 4:13, Alexandre Montplaisir wrote:
>> [...]
>>
>> So in this example we could see right away that the average duration is around 10-15 ms, but we have some outliers that took more than 20 ms, so it would be interesting to zoom in there to get more details. And eventually clicking on one particular occurrence could bring you to the exact point in the trace where it happened (or create bookmarks for the outlier entries, etc.)
>>
> Looks good. It should be better if users are able to define their own matching rules.

Absolutely! We can have pre-defined rules for the known domain (system 
calls, IRQs, and so on), but then it'd be easy to let the user enter an 
event name for the "start" and an event name for the "end".

I was also thinking, we could even use general filters to define what is 
a start and an end event. It would require some refactoring due to the 
way filters are organized at the moment, so it wouldn't be trivial, but 
eventually we may want to get there.

I'm currently working on the side on a prototype of the "event matching" 
table view, I will let you know once I have an initial version working, 
so we can see if/how useful it is.

>
> In addition, do you think about chaining more than 2 events together? Some procedures, such as IO and network, can be traced at different layers, and we are able to chain events caused by same sources together with some cules. Please refer to:
>
> http://comments.gmane.org/gmane.linux.kernel/1883569
>
> Which we are working on.
>

Geneviève (added in CC) is currently working on virtual machine 
analyses, where we can match events from a kernel trace on a host to a 
kernel trace in a guest, and so on. The "layering" and general matching 
of events should be similar. Maybe she has some ideas if the event 
matching part could be reused somehow?


Cheers,
Alexandre

  parent reply	other threads:[~2015-02-10  8:02 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23  9:35 [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection Wang Nan
2015-01-23 16:30 ` Alexandre Montplaisir
2015-01-23 16:30 ` Alexandre Montplaisir
2015-01-23 16:56   ` Geneviève Bastien
2015-01-23 16:56   ` [diamon-discuss] [lttng-dev] " Geneviève Bastien
2015-01-31  7:14   ` [diamon-discuss] " Wang Nan
2015-02-04 20:24     ` Alexandre Montplaisir
2015-02-04 20:24     ` Alexandre Montplaisir
2015-02-07  3:13       ` Wang Nan
2015-02-07  3:13       ` Wang Nan
2015-02-07  5:14         ` Alexandre Montplaisir
2015-02-07  5:14         ` Alexandre Montplaisir
2015-02-07  7:25           ` Wang Nan
2015-02-07  7:25           ` Wang Nan
2015-02-09 20:13             ` Alexandre Montplaisir
2015-02-10  4:55               ` Wang Nan
2015-02-10  8:02                 ` Alexandre Montplaisir
2015-02-10  8:02                 ` Alexandre Montplaisir [this message]
2015-02-10  4:55               ` Wang Nan
2015-02-09 20:13             ` Alexandre Montplaisir
2015-02-07 13:22     ` Mathieu Desnoyers
2015-02-07 13:22     ` Mathieu Desnoyers
2015-01-31  7:14   ` Wang Nan
2015-01-23 20:12 ` Alexandre Montplaisir
2015-01-23 20:12 ` Alexandre Montplaisir
2015-01-26  4:08   ` Wang Nan
2015-01-26  4:08   ` Wang Nan
2015-01-26 16:25 ` Jérémie Galarneau
2015-01-27  0:54   ` Wang Nan
2015-01-27  0:54   ` Wang Nan
2015-01-27  5:31     ` Jérémie Galarneau
2015-01-27  6:31       ` Wang Nan
2015-01-27  6:31       ` Wang Nan
2015-01-27  5:31     ` Jérémie Galarneau
2015-01-26 16:25 ` Jérémie Galarneau

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=54D9BB0C.4040408@voxpopuli.im \
    --to=alexmonthy@voxpopuli.im \
    --cc=diamon-discuss@lists.linuxfoundation.org \
    --cc=gbastien+lttng@versatic.net \
    --cc=huxinwei@huawei.com \
    --cc=lttng-dev@lists.lttng.org \
    --cc=tracecompass-dev@eclipse.org \
    --cc=wangnan0@huawei.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.