From: Daniel Bristot de Oliveira <bristot@redhat.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] kernel: sched: fix preempt_disable_ip recodring for preempt_disable()
Date: Fri, 26 Feb 2016 16:11:32 -0300 [thread overview]
Message-ID: <56D0A364.5060203@redhat.com> (raw)
In-Reply-To: <20160226135456.GB18244@linutronix.de>
On 02/26/2016 10:54 AM, Sebastian Andrzej Siewior wrote:
> - trace_preempt_off(CALLER_ADDR0, get_parent_ip(CALLER_ADDR1));
> + trace_preempt_off(CALLER_ADDR0, get_lock_parent_ip());
If !lock_functions(CALLER_ADDR0), the start/stop_critical_timing() will
be called with parent_ip == ip.
Hence, the following trace on start_critical_timing():
__trace_function(tr, ip, parent_ip, flags, preempt_count());
Will show the function calling itself.
Is it a problem? am I missing something?
-- Daniel
next prev parent reply other threads:[~2016-02-26 19:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 15:20 [PATCH v2] " Sebastian Andrzej Siewior
2016-02-25 14:15 ` Steven Rostedt
2016-02-26 13:54 ` [PATCH v3] " Sebastian Andrzej Siewior
2016-02-26 19:11 ` Daniel Bristot de Oliveira [this message]
2016-03-03 12:51 ` Sebastian Andrzej Siewior
2016-02-29 11:19 ` [tip:sched/core] sched/debug: Fix preempt_disable_ip recording " tip-bot for Sebastian Andrzej Siewior
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=56D0A364.5060203@redhat.com \
--to=bristot@redhat.com \
--cc=bigeasy@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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
Powered by JetHome