mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Masami Hiramatsu <mhiramat@kernel.org>
To: Arun Kalyanasundaram <arunkaly@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	mhiramat@kernel.org, linux-kernel@vger.kernel.org,
	mingo@kernel.org, David Carrillo-Cisneros <davidcc@google.com>
Subject: Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that are few instructions apart
Date: Mon, 10 Jul 2017 09:18:45 +0900	[thread overview]
Message-ID: <20170710091845.5db494f938a1ab6c8e2b0259@kernel.org> (raw)
In-Reply-To: <CAGjB_BpcrHaRuWQdCmP8_H6k2JUgSwQAt1tm9Kxnm6CyMOc_Ng@mail.gmail.com>

Hello Arun,

On Fri, 7 Jul 2017 16:06:40 -0700
Arun Kalyanasundaram <arunkaly@google.com> wrote:

> Hi Steven,
> 
> Thank you very much for your reply. I am using kernel - v4.12-rc3.
> 
> I did something like this and see the issue:
> # trace-cmd record -e kprobes:s1 -e kprobes:s2 -- taskset -c 0 my_program
> # ./trace-cmd report -t --cpu 0
> 
> The issue is pretty intermittent and only happens when there are a lot
> of samples, and so "my_program" generates a few hundred threads. Any
> pointers on debugging this would be very helpful, or please let me
> know if you want me to collect any log messages.

Ok, so this happens with ftrace+trace-cmd too.
If you run it on x86-64, could you add "-C x86-tsc" and check still
it happens? If not, I guess it happens when it adjusts timestamp.

Thank you,

-- 
Masami Hiramatsu <mhiramat@kernel.org>

  reply	other threads:[~2017-07-10  0:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGjB_BpTmk+gvNMpuxWweu1UnzFixPrxKKAxzJxm2svz+-FVXg@mail.gmail.com>
2017-07-07 19:01 ` Steven Rostedt
2017-07-07 23:06   ` Arun Kalyanasundaram
2017-07-10  0:18     ` Masami Hiramatsu [this message]
2017-07-10 17:38       ` Arun Kalyanasundaram
2017-07-09 12:51 ` Masami Hiramatsu

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=20170710091845.5db494f938a1ab6c8e2b0259@kernel.org \
    --to=mhiramat@kernel.org \
    --cc=arunkaly@google.com \
    --cc=davidcc@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=rostedt@goodmis.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

all inboxes | Powered by JetHome®