Daniel Bristot de Oliveira
d9b035e704
x86/irq, trace: Add __irq_entry annotation to x86's platform IRQ handlers
...
[ Upstream commit c4158ff536439619fa342810cc575ae2c809f03f ]
This patch adds the __irq_entry annotation to the default x86
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.
Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Aaron Lu <aaron.lu@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Claudio Fontana <claudio.fontana@huawei.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Gu Zheng <guz.fnst@cn.fujitsu.com>
Cc: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Nicolai Stange <nicstange@gmail.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Wanpeng Li <wanpeng.li@hotmail.com>
Cc: linux-edac@vger.kernel.org
Link: http://lkml.kernel.org/r/059fdf437c2f0c09b13c18c8fe4e69999d3ffe69.1483528431.git.bristot@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-21 09:23:24 +01:00
..
2017-09-07 08:35:40 +02:00
2017-09-27 14:39:23 +02:00
2017-11-21 09:23:22 +01:00
2017-11-15 15:53:13 +01:00
2016-10-07 21:38:00 -07:00
2017-01-06 10:40:13 +01:00
2017-03-31 10:31:46 +02:00
2017-01-12 11:39:24 +01:00
2017-06-24 07:11:18 +02:00
2017-03-31 10:31:46 +02:00
2016-10-07 18:46:30 -07:00
2017-01-06 10:40:13 +01:00
2016-10-19 08:31:25 -07:00
2016-10-30 10:13:55 +01:00
2017-05-25 15:44:46 +02:00
2016-10-11 23:38:39 -07:00
2017-11-15 15:53:19 +01:00
2017-06-17 06:41:56 +02:00
2017-04-12 12:41:14 +02:00
2017-08-06 18:59:46 -07:00
2017-10-27 10:38:06 +02:00
2017-11-18 11:22:24 +01:00
2017-11-18 11:22:24 +01:00
2016-10-19 08:39:47 -07:00
2017-11-15 15:53:14 +01:00
2017-11-18 11:22:24 +01:00
2017-06-24 07:11:18 +02:00
2017-05-25 15:44:47 +02:00
2016-10-11 15:06:32 -07:00
2017-11-21 09:23:24 +01:00
2017-08-16 13:43:16 -07:00
2016-10-15 10:03:15 -07:00