Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1683868

Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that are few instructions apart

From Masami Hiramatsu <mhiramat@kernel.org>
Newsgroups linux.kernel
Subject Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that are few instructions apart
Date 2017-07-10 02:20 +0200
Message-ID <u1uAG-6ba-7@gated-at.bofh.it> (permalink)
References <u0GNz-8jW-17@gated-at.bofh.it> <u0GNz-8jW-15@gated-at.bofh.it> <u0KxP-2tK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that  are few instructions apart Steven Rostedt <rostedt@goodmis.org> - 2017-07-07 21:10 +0200
  Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that  are few instructions apart Arun Kalyanasundaram <arunkaly@google.com> - 2017-07-08 01:10 +0200
    Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that  are few instructions apart Masami Hiramatsu <mhiramat@kernel.org> - 2017-07-10 02:20 +0200
      Re: tracing/kprobes: [Bug] Identical timestamps on two kprobes that  are few instructions apart Arun Kalyanasundaram <arunkaly@google.com> - 2017-07-10 19:40 +0200

csiph-web