Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313629
b: refs/heads/master
c: d136e27
h: refs/heads/master
i:
  313627: 248f13f
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jul 3, 2012
1 parent 6ae96cb commit 789ff0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 35 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 641bd53a615b35d7a2e9a3de764e7c4953948679
refs/heads/master: d136e27326a3bd50d7929a43c018abf13e426b7e
45 changes: 11 additions & 34 deletions trunk/arch/powerpc/include/asm/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

struct pt_regs;

TRACE_EVENT(irq_entry,
DECLARE_EVENT_CLASS(ppc64_interrupt_class,

TP_PROTO(struct pt_regs *regs),

Expand All @@ -25,55 +25,32 @@ TRACE_EVENT(irq_entry,
TP_printk("pt_regs=%p", __entry->regs)
);

TRACE_EVENT(irq_exit,
DEFINE_EVENT(ppc64_interrupt_class, irq_entry,

TP_PROTO(struct pt_regs *regs),

TP_ARGS(regs),

TP_STRUCT__entry(
__field(struct pt_regs *, regs)
),

TP_fast_assign(
__entry->regs = regs;
),

TP_printk("pt_regs=%p", __entry->regs)
TP_ARGS(regs)
);

TRACE_EVENT(timer_interrupt_entry,
DEFINE_EVENT(ppc64_interrupt_class, irq_exit,

TP_PROTO(struct pt_regs *regs),

TP_ARGS(regs),

TP_STRUCT__entry(
__field(struct pt_regs *, regs)
),

TP_fast_assign(
__entry->regs = regs;
),

TP_printk("pt_regs=%p", __entry->regs)
TP_ARGS(regs)
);

TRACE_EVENT(timer_interrupt_exit,
DEFINE_EVENT(ppc64_interrupt_class, timer_interrupt_entry,

TP_PROTO(struct pt_regs *regs),

TP_ARGS(regs),
TP_ARGS(regs)
);

TP_STRUCT__entry(
__field(struct pt_regs *, regs)
),
DEFINE_EVENT(ppc64_interrupt_class, timer_interrupt_exit,

TP_fast_assign(
__entry->regs = regs;
),
TP_PROTO(struct pt_regs *regs),

TP_printk("pt_regs=%p", __entry->regs)
TP_ARGS(regs)
);

#ifdef CONFIG_PPC_PSERIES
Expand Down

0 comments on commit 789ff0c

Please sign in to comment.