All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>,
	Daniel Bristot de Oliveira <bristot@redhat.com>,
	linux-kernel@vger.kernel.org,
	"Peter Zijlstra (Intel)" <peterz@infradead.org>,
	"H. Peter Anvin" <hpa@zytor.com>, Tony Luck <tony.luck@intel.com>,
	Borislav Petkov <bp@alien8.de>,
	Dou Liyang <douly.fnst@cn.fujitsu.com>,
	Nicolai Stange <nicstange@gmail.com>,
	Gu Zheng <guz.fnst@cn.fujitsu.com>, Baoquan He <bhe@redhat.com>,
	Denys Vlasenko <dvlasenk@redhat.com>,
	Claudio Fontana <claudio.fontana@huawei.com>,
	Aaron Lu <aaron.lu@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Wanpeng Li <wanpeng.li@hotmail.com>,
	Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>,
	linux-edac@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH] x86, trace: Add __irq_entry annotation to x86's platform IRQ handlers
Date: Thu, 5 Jan 2017 08:59:14 +0100	[thread overview]
Message-ID: <20170105075914.GB2098@gmail.com> (raw)
In-Reply-To: <20170104100800.334a9a0e@gandalf.local.home>


* Steven Rostedt <rostedt@goodmis.org> wrote:

> On Wed,  4 Jan 2017 12:20:33 +0100
> Daniel Bristot de Oliveira <bristot@redhat.com> wrote:
> 
> > This patch adds the __irq_entry annotation to the defaults x86's
> > platform IRQ handlers. ftrace's function_graph tracer uses the
> > __irq_entry annotation to notify the entry and return of IRQ
> > handlers.
> > 
> > For example, before the patch:
> >   354549.667252 |   3)  d..1              |  default_idle_call() {
> >   354549.667252 |   3)  d..1              |    arch_cpu_idle() {
> >   354549.667253 |   3)  d..1              |      default_idle() {
> >   354549.696886 |   3)  d..1              |        smp_trace_reschedule_interrupt() {
> >   354549.696886 |   3)  d..1              |          irq_enter() {
> >   354549.696886 |   3)  d..1              |            rcu_irq_enter() {
> > 
> > After the patch:
> >   366416.254476 |   3)  d..1              |    arch_cpu_idle() {
> >   366416.254476 |   3)  d..1              |      default_idle() {
> >   366416.261566 |   3)  d..1  ==========> |
> >   366416.261566 |   3)  d..1              |        smp_trace_reschedule_interrupt() {
> >   366416.261566 |   3)  d..1              |          irq_enter() {
> >   366416.261566 |   3)  d..1              |            rcu_irq_enter() {
> > 
> > KASAN also uses this annotation. The smp_apic_timer_interrupt
> > was already annotated.
> 
> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
> 
> Thomas or Ingo, want to take this in tip?

Yeah, queued it up for v4.11.

Thanks,

	Ingo

  reply	other threads:[~2017-01-05  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 11:20 [PATCH] x86, trace: Add __irq_entry annotation to x86's platform IRQ handlers Daniel Bristot de Oliveira
2017-01-04 15:08 ` Steven Rostedt
2017-01-05  7:59   ` Ingo Molnar [this message]
2017-01-05 15:05 ` [tip:x86/irq] x86/irq, " tip-bot for Daniel Bristot de Oliveira

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=20170105075914.GB2098@gmail.com \
    --to=mingo@kernel.org \
    --cc=aaron.lu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=bhe@redhat.com \
    --cc=bp@alien8.de \
    --cc=bristot@redhat.com \
    --cc=claudio.fontana@huawei.com \
    --cc=douly.fnst@cn.fujitsu.com \
    --cc=dvlasenk@redhat.com \
    --cc=guz.fnst@cn.fujitsu.com \
    --cc=hidehiro.kawai.ez@hitachi.com \
    --cc=hpa@zytor.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=nicstange@gmail.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --cc=wanpeng.li@hotmail.com \
    --cc=x86@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 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.