Skip to content

Commit

Permalink
microblaze: Fix IRQ entry/exit ftracing
Browse files Browse the repository at this point in the history
Function traces on Microblaze don't include IRQ entry and exit arrows,
i.e.

 0)               |                            memcpy_toiovec() {
 0)   ==========> |
 0)               |                              do_IRQ() {
 ...
 0)   <========== |
 0) ! 5414.000 us |                            }

...because do_IRQ() doesn't have the proper attributes.

Signed-off-by: Steven J. Magnani <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
smagnani authored and michalsimek committed May 6, 2010
1 parent c86fac4 commit e6d7961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/microblaze/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*/

#include <linux/init.h>
#include <linux/ftrace.h>
#include <linux/kernel.h>
#include <linux/hardirq.h>
#include <linux/interrupt.h>
Expand All @@ -32,7 +33,7 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map);

static u32 concurrent_irq;

void do_IRQ(struct pt_regs *regs)
void __irq_entry do_IRQ(struct pt_regs *regs)
{
unsigned int irq;
struct pt_regs *old_regs = set_irq_regs(regs);
Expand Down

0 comments on commit e6d7961

Please sign in to comment.