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

Go to the source code of this file.

Macros

#define _RADEON_TRACE_H_
 
#define TRACE_SYSTEM   radeon
 
#define TRACE_SYSTEM_STRING   __stringify(TRACE_SYSTEM)
 
#define TRACE_INCLUDE_FILE   radeon_trace
 
#define TRACE_INCLUDE_PATH   .
 

Functions

 TRACE_EVENT (radeon_bo_create, TP_PROTO(struct radeon_bo *bo), TP_ARGS(bo), TP_STRUCT__entry(__field(struct radeon_bo *, bo) __field(u32, pages)), TP_fast_assign(__entry->bo=bo;__entry->pages=bo->tbo.num_pages;), TP_printk("bo=%p, pages=%u", __entry->bo, __entry->pages))
 
 DECLARE_EVENT_CLASS (radeon_fence_request, TP_PROTO(struct drm_device *dev, u32 seqno), TP_ARGS(dev, seqno), TP_STRUCT__entry(__field(u32, dev) __field(u32, seqno)), TP_fast_assign(__entry->dev=dev->primary->index;__entry->seqno=seqno;), TP_printk("dev=%u, seqno=%u", __entry->dev, __entry->seqno))
 
 DEFINE_EVENT (radeon_fence_request, radeon_fence_emit, TP_PROTO(struct drm_device *dev, u32 seqno),)
 
 DEFINE_EVENT (radeon_fence_request, radeon_fence_retire, TP_PROTO(struct drm_device *dev, u32 seqno),)
 
 DEFINE_EVENT (radeon_fence_request, radeon_fence_wait_begin, TP_PROTO(struct drm_device *dev, u32 seqno),)
 
 DEFINE_EVENT (radeon_fence_request, radeon_fence_wait_end, TP_PROTO(struct drm_device *dev, u32 seqno),)
 

Macro Definition Documentation

#define _RADEON_TRACE_H_

Definition at line 2 of file radeon_trace.h.

#define TRACE_INCLUDE_FILE   radeon_trace

Definition at line 13 of file radeon_trace.h.

#define TRACE_INCLUDE_PATH   .

Definition at line 81 of file radeon_trace.h.

#define TRACE_SYSTEM   radeon

Definition at line 11 of file radeon_trace.h.

#define TRACE_SYSTEM_STRING   __stringify(TRACE_SYSTEM)

Definition at line 12 of file radeon_trace.h.

Function Documentation

DECLARE_EVENT_CLASS ( radeon_fence_request  ,
TP_PROTO(struct drm_device *dev, u32 seqno ,
TP_ARGS(dev, seqno ,
TP_STRUCT__entry(__field(u32, dev) __field(u32, seqno))  ,
TP_fast_assign(__entry->dev=dev->primary->index;__entry->seqno=seqno;)  ,
TP_printk("dev=%u, seqno=%u", __entry->dev, __entry->seqno  
)
DEFINE_EVENT ( radeon_fence_request  ,
radeon_fence_emit  ,
TP_PROTO(struct drm_device *dev, u32 seqno  
)
DEFINE_EVENT ( radeon_fence_request  ,
radeon_fence_retire  ,
TP_PROTO(struct drm_device *dev, u32 seqno  
)
DEFINE_EVENT ( radeon_fence_request  ,
radeon_fence_wait_begin  ,
TP_PROTO(struct drm_device *dev, u32 seqno  
)
DEFINE_EVENT ( radeon_fence_request  ,
radeon_fence_wait_end  ,
TP_PROTO(struct drm_device *dev, u32 seqno  
)
TRACE_EVENT ( radeon_bo_create  ,
TP_PROTO(struct radeon_bo *bo)  ,
TP_ARGS(bo)  ,
TP_STRUCT__entry(__field(struct radeon_bo *, bo) __field(u32, pages))  ,
TP_fast_assign(__entry->bo=bo;__entry->pages=bo->tbo.num_pages;)  ,
TP_printk("bo=%p, pages=%u", __entry->bo, __entry->pages  
)