KVM
Macros | Functions
trace.h File Reference
#include <linux/tracepoint.h>
#include <trace/define_trace.h>
Include dependency graph for trace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _TRACE_VGIC_H
 
#define TRACE_SYSTEM   kvm
 
#define TRACE_INCLUDE_PATH   ../../arch/arm64/kvm/vgic
 
#define TRACE_INCLUDE_FILE   trace
 

Functions

 TRACE_EVENT (vgic_update_irq_pending, TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level), TP_ARGS(vcpu_id, irq, level), TP_STRUCT__entry(__field(unsigned long, vcpu_id) __field(__u32, irq) __field(bool, level)), TP_fast_assign(__entry->vcpu_id=vcpu_id;__entry->irq=irq;__entry->level=level;), TP_printk("VCPU: %ld, IRQ %d, level: %d", __entry->vcpu_id, __entry->irq, __entry->level))
 

Macro Definition Documentation

◆ _TRACE_VGIC_H

#define _TRACE_VGIC_H

Definition at line 3 of file trace.h.

◆ TRACE_INCLUDE_FILE

#define TRACE_INCLUDE_FILE   trace

Definition at line 35 of file trace.h.

◆ TRACE_INCLUDE_PATH

#define TRACE_INCLUDE_PATH   ../../arch/arm64/kvm/vgic

Definition at line 33 of file trace.h.

◆ TRACE_SYSTEM

#define TRACE_SYSTEM   kvm

Definition at line 8 of file trace.h.

Function Documentation

◆ TRACE_EVENT()

TRACE_EVENT ( vgic_update_irq_pending  ,
TP_PROTO(unsigned long vcpu_id, __u32 irq, bool level)  ,
TP_ARGS(vcpu_id, irq, level)  ,
TP_STRUCT__entry(__field(unsigned long, vcpu_id) __field(__u32, irq) __field(bool, level))  ,
TP_fast_assign(__entry->vcpu_id=vcpu_id;__entry->irq=irq;__entry->level=level;)  ,
TP_printk("VCPU: %ld, IRQ %d, level: %d", __entry->vcpu_id, __entry->irq, __entry->level)   
)