mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>
Cc: 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: Wed, 4 Jan 2017 10:08:00 -0500	[thread overview]
Message-ID: <20170104100800.334a9a0e@gandalf.local.home> (raw)
In-Reply-To: <059fdf437c2f0c09b13c18c8fe4e69999d3ffe69.1483528431.git.bristot@redhat.com>

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?

-- Steve

> 
> Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Tony Luck <tony.luck@intel.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>
> Cc: Nicolai Stange <nicstange@gmail.com>
> Cc: Gu Zheng <guz.fnst@cn.fujitsu.com>
> Cc: Baoquan He <bhe@redhat.com>
> Cc: Denys Vlasenko <dvlasenk@redhat.com>
> Cc: Claudio Fontana <claudio.fontana@huawei.com>
> Cc: Aaron Lu <aaron.lu@intel.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Wanpeng Li <wanpeng.li@hotmail.com>
> Cc: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-edac@vger.kernel.org
> Cc: x86@kernel.org

  reply	other threads:[~2017-01-04 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04 11:20 Daniel Bristot de Oliveira
2017-01-04 15:08 ` Steven Rostedt [this message]
2017-01-05  7:59   ` Ingo Molnar
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=20170104100800.334a9a0e@gandalf.local.home \
    --to=rostedt@goodmis.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=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 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®