diff options
author | Avi Kivity <avi@redhat.com> | 2009-07-01 05:09:41 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 01:33:06 -0400 |
commit | ae8c1c4025c2b780616586c3f86a3374a154ef90 (patch) | |
tree | f67fc2cb8b45c6b394d5578c620443abea83485e /include/trace/events/kvm.h | |
parent | 27c4ba60171d9ce29d3645619837760d758ed288 (diff) |
KVM: Trace irq level and source id
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/trace/events/kvm.h')
-rw-r--r-- | include/trace/events/kvm.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h index d74b23d803f1..035232dc84e0 100644 --- a/include/trace/events/kvm.h +++ b/include/trace/events/kvm.h | |||
@@ -9,18 +9,23 @@ | |||
9 | 9 | ||
10 | #if defined(__KVM_HAVE_IOAPIC) | 10 | #if defined(__KVM_HAVE_IOAPIC) |
11 | TRACE_EVENT(kvm_set_irq, | 11 | TRACE_EVENT(kvm_set_irq, |
12 | TP_PROTO(unsigned int gsi), | 12 | TP_PROTO(unsigned int gsi, int level, int irq_source_id), |
13 | TP_ARGS(gsi), | 13 | TP_ARGS(gsi, level, irq_source_id), |
14 | 14 | ||
15 | TP_STRUCT__entry( | 15 | TP_STRUCT__entry( |
16 | __field( unsigned int, gsi ) | 16 | __field( unsigned int, gsi ) |
17 | __field( int, level ) | ||
18 | __field( int, irq_source_id ) | ||
17 | ), | 19 | ), |
18 | 20 | ||
19 | TP_fast_assign( | 21 | TP_fast_assign( |
20 | __entry->gsi = gsi; | 22 | __entry->gsi = gsi; |
23 | __entry->level = level; | ||
24 | __entry->irq_source_id = irq_source_id; | ||
21 | ), | 25 | ), |
22 | 26 | ||
23 | TP_printk("gsi %u", __entry->gsi) | 27 | TP_printk("gsi %u level %d source %d", |
28 | __entry->gsi, __entry->level, __entry->irq_source_id) | ||
24 | ); | 29 | ); |
25 | 30 | ||
26 | 31 | ||