Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
drm_trace.h File Reference
#include <linux/stringify.h>
#include <linux/types.h>
#include <linux/tracepoint.h>
#include <trace/define_trace.h>

Go to the source code of this file.

Macros

#define _DRM_TRACE_H_
 
#define TRACE_SYSTEM   drm
 
#define TRACE_SYSTEM_STRING   __stringify(TRACE_SYSTEM)
 
#define TRACE_INCLUDE_FILE   drm_trace
 
#define TRACE_INCLUDE_PATH   .
 

Functions

 TRACE_EVENT (drm_vblank_event, TP_PROTO(int crtc, unsigned int seq), TP_ARGS(crtc, seq), TP_STRUCT__entry(__field(int, crtc) __field(unsigned int, seq)), TP_fast_assign(__entry->crtc=crtc;__entry->seq=seq;), TP_printk("crtc=%d, seq=%d", __entry->crtc, __entry->seq))
 
 TRACE_EVENT (drm_vblank_event_queued, TP_PROTO(pid_t pid, int crtc, unsigned int seq), TP_ARGS(pid, crtc, seq), TP_STRUCT__entry(__field(pid_t, pid) __field(int, crtc) __field(unsigned int, seq)), TP_fast_assign(__entry->pid=pid;__entry->crtc=crtc;__entry->seq=seq;), TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, __entry->seq))
 
 TRACE_EVENT (drm_vblank_event_delivered, TP_PROTO(pid_t pid, int crtc, unsigned int seq), TP_ARGS(pid, crtc, seq), TP_STRUCT__entry(__field(pid_t, pid) __field(int, crtc) __field(unsigned int, seq)), TP_fast_assign(__entry->pid=pid;__entry->crtc=crtc;__entry->seq=seq;), TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, __entry->seq))
 

Macro Definition Documentation

#define _DRM_TRACE_H_

Definition at line 2 of file drm_trace.h.

#define TRACE_INCLUDE_FILE   drm_trace

Definition at line 11 of file drm_trace.h.

#define TRACE_INCLUDE_PATH   .

Definition at line 65 of file drm_trace.h.

#define TRACE_SYSTEM   drm

Definition at line 9 of file drm_trace.h.

#define TRACE_SYSTEM_STRING   __stringify(TRACE_SYSTEM)

Definition at line 10 of file drm_trace.h.

Function Documentation

TRACE_EVENT ( drm_vblank_event  ,
TP_PROTO(int crtc, unsigned int seq ,
TP_ARGS(crtc, seq ,
TP_STRUCT__entry(__field(int, crtc) __field(unsigned int, seq))  ,
TP_fast_assign(__entry->crtc=crtc;__entry->seq=seq;)  ,
TP_printk("crtc=%d, seq=%d", __entry->crtc, __entry->seq  
)
TRACE_EVENT ( drm_vblank_event_queued  ,
TP_PROTO(pid_t pid, int crtc, unsigned int seq ,
TP_ARGS(pid, crtc, seq ,
TP_STRUCT__entry(__field(pid_t, pid) __field(int, crtc) __field(unsigned int, seq))  ,
TP_fast_assign(__entry->pid=pid;__entry->crtc=crtc;__entry->seq=seq;)  ,
TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, __entry->seq  
)
TRACE_EVENT ( drm_vblank_event_delivered  ,
TP_PROTO(pid_t pid, int crtc, unsigned int seq ,
TP_ARGS(pid, crtc, seq ,
TP_STRUCT__entry(__field(pid_t, pid) __field(int, crtc) __field(unsigned int, seq))  ,
TP_fast_assign(__entry->pid=pid;__entry->crtc=crtc;__entry->seq=seq;)  ,
TP_printk("pid=%d, crtc=%d, seq=%d", __entry->pid, __entry->crtc, __entry->seq  
)