diff options
author | Avi Kivity <avi@redhat.com> | 2009-07-01 12:09:41 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 08:33:06 +0300 |
commit | ae8c1c4025c2b780616586c3f86a3374a154ef90 (patch) | |
tree | f67fc2cb8b45c6b394d5578c620443abea83485e /include/trace | |
parent | 27c4ba60171d9ce29d3645619837760d758ed288 (diff) | |
download | op-kernel-dev-ae8c1c4025c2b780616586c3f86a3374a154ef90.zip op-kernel-dev-ae8c1c4025c2b780616586c3f86a3374a154ef90.tar.gz |
KVM: Trace irq level and source id
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/trace')
-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 d74b23d..035232d 100644 --- a/include/trace/events/kvm.h +++ b/include/trace/events/kvm.h @@ -9,18 +9,23 @@ #if defined(__KVM_HAVE_IOAPIC) TRACE_EVENT(kvm_set_irq, - TP_PROTO(unsigned int gsi), - TP_ARGS(gsi), + TP_PROTO(unsigned int gsi, int level, int irq_source_id), + TP_ARGS(gsi, level, irq_source_id), TP_STRUCT__entry( __field( unsigned int, gsi ) + __field( int, level ) + __field( int, irq_source_id ) ), TP_fast_assign( __entry->gsi = gsi; + __entry->level = level; + __entry->irq_source_id = irq_source_id; ), - TP_printk("gsi %u", __entry->gsi) + TP_printk("gsi %u level %d source %d", + __entry->gsi, __entry->level, __entry->irq_source_id) ); |