linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: <Viktor.Rosendahl@bmw.de>
Cc: <linux-trace-devel@vger.kernel.org>
Subject: Re: Adding latency tracking to trace-cmd
Date: Tue, 6 Apr 2021 13:38:06 -0400	[thread overview]
Message-ID: <20210406133806.0f3ab414@gandalf.local.home> (raw)
In-Reply-To: <e1c4952249578eea44817d092bffe27fd0e47645.camel@bmw.de>

On Wed, 24 Feb 2021 19:22:48 +0000
<Viktor.Rosendahl@bmw.de> wrote:
> > 
> > My question to you is, would you like to work on adding that feature to
> > trace-cmd?  
> 
> I would be interested to work on the feature but I would probably need
> permission from my employer, also in case I do it as a spare time project.
> 
> For this reason, I will need some time come to a decision. I will get back to
> you when I know the answer.

Hi Viktor,

Any word on if your employer would let you work on trace-cmd?

> 
> > 
> >   git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
> > 
> > (which requires the libtracefs and libtracevent libraries).
> > 
> > I'm thinking if someone were to do:
> > 
> >  trace-cmd record -p wakeup_rt 
> > 
> > It would then act just like the latency-collector and record every new
> > instance of a latency into the trace.dat file, where:
> > 
> >  trace-cmd report
> > 
> > would then nicely format that data for the user.
> > 
> > Thoughts?  
> 
> It seems like trace-cmd is mostly GPL-2.0. The latency-collector is also GPL-
> 2.0, so I guess that it would be possible to take snippets of code and
> inspiration from it.
> 
> Would you allow the hackish random algorithm to be used in trace-cmd?
> I mean the "--random" option in latency-collector.
> 

If you feel it is useful, sure. Although a definition of what it exactly
does needs to be a bit more explained. I'm not really sure what use the
--random option is for the latency tracer.

-- Steve

  parent reply	other threads:[~2021-04-06 17:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24 16:54 Adding latency tracking to trace-cmd Steven Rostedt
2021-02-24 19:22 ` Viktor.Rosendahl
2021-02-24 20:10   ` Steven Rostedt
2021-04-06 17:38   ` Steven Rostedt [this message]
2021-04-06 20:03     ` Viktor.Rosendahl
2021-04-06 20:24       ` Viktor.Rosendahl
2021-04-06 20:42       ` Steven Rostedt
2021-04-08 21:01         ` Viktor Rosendahl
2021-04-08 21:17           ` Steven Rostedt

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=20210406133806.0f3ab414@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=Viktor.Rosendahl@bmw.de \
    --cc=linux-trace-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).