jitdump.h File Reference

#include <sys/time.h>
#include <time.h>
#include <stdint.h>
#include "op_types.h"
Include dependency graph for jitdump.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  jitheader
struct  jr_prefix
struct  jr_code_load
struct  jr_code_unload
struct  jr_code_close
struct  jr_code_debug_info

Defines

#define JITHEADER_MAGIC   0x4F74496A
#define PADDING_8ALIGNED(x)   ((((x) + 7) & 7) ^ 7)
#define JITHEADER_VERSION   1

Enumerations

enum  jit_record_type { JIT_CODE_LOAD = 0, JIT_CODE_UNLOAD = 1, JIT_CODE_CLOSE = 2, JIT_CODE_DEBUG_INFO = 3 }

Detailed Description

Header structure of a JIT-dump file.

Remarks:
Copyright 2007 OProfile authors
Read the file COPYING
Author:
Jens Wilke Daniel Hansel

Copyright IBM Corporation 2007

Definition in file jitdump.h.


Define Documentation

#define JITHEADER_MAGIC   0x4F74496A

Magic to do a sanity check that this is a dump file characters "jItO"

Definition at line 27 of file jitdump.h.

Referenced by op_open_agent(), and parse_header().

#define JITHEADER_VERSION   1

Version number to avoid conflicts, increase this whenever the header is changed

Definition at line 37 of file jitdump.h.

Referenced by op_open_agent(), and parse_header().

#define PADDING_8ALIGNED (  )     ((((x) + 7) & 7) ^ 7)

Macro to calculate count of padding bytes to extend a size to be 8-byte aligned.

Definition at line 32 of file jitdump.h.

Referenced by op_open_agent(), op_write_debug_line_info(), op_write_native_code(), and parse_code_load().


Enumeration Type Documentation

Enumerator:
JIT_CODE_LOAD 
JIT_CODE_UNLOAD 
JIT_CODE_CLOSE 
JIT_CODE_DEBUG_INFO 

Definition at line 51 of file jitdump.h.


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1