Linux Perf
jitdump.h File Reference
#include <sys/time.h>
#include <time.h>
#include <stdint.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.

Classes

struct  jitheader
 
struct  jr_prefix
 
struct  jr_code_load
 
struct  jr_code_close
 
struct  jr_code_move
 
struct  debug_entry
 
struct  jr_code_debug_info
 
struct  jr_code_unwinding_info
 
union  jr_entry
 

Macros

#define JITHEADER_MAGIC   0x4A695444
 
#define JITHEADER_MAGIC_SW   0x4454694A
 
#define PADDING_8ALIGNED(x)   ((((x) + 7) & 7) ^ 7)
 
#define ALIGN_8(x)   (((x) + 7) & (~7))
 
#define JITHEADER_VERSION   1
 
#define JITDUMP_FLAGS_ARCH_TIMESTAMP   (1ULL << JITDUMP_FLAGS_ARCH_TIMESTAMP_BIT)
 
#define JITDUMP_FLAGS_RESERVED
 

Enumerations

enum  jitdump_flags_bits { JITDUMP_FLAGS_ARCH_TIMESTAMP_BIT, JITDUMP_FLAGS_MAX_BIT }
 
enum  jit_record_type {
  JIT_CODE_LOAD = 0, JIT_CODE_MOVE = 1, JIT_CODE_DEBUG_INFO = 2, JIT_CODE_CLOSE = 3,
  JIT_CODE_UNWINDING_INFO = 4, JIT_CODE_MAX
}
 

Functions

static struct debug_entrydebug_entry_next (struct debug_entry *ent)
 
static char * debug_entry_file (struct debug_entry *ent)
 

Macro Definition Documentation

◆ ALIGN_8

#define ALIGN_8 (   x)    (((x) + 7) & (~7))

Definition at line 22 of file jitdump.h.

◆ JITDUMP_FLAGS_ARCH_TIMESTAMP

#define JITDUMP_FLAGS_ARCH_TIMESTAMP   (1ULL << JITDUMP_FLAGS_ARCH_TIMESTAMP_BIT)

Definition at line 31 of file jitdump.h.

◆ JITDUMP_FLAGS_RESERVED

#define JITDUMP_FLAGS_RESERVED
Value:

Definition at line 33 of file jitdump.h.

◆ JITHEADER_MAGIC

#define JITHEADER_MAGIC   0x4A695444

Definition at line 18 of file jitdump.h.

◆ JITHEADER_MAGIC_SW

#define JITHEADER_MAGIC_SW   0x4454694A

Definition at line 19 of file jitdump.h.

◆ JITHEADER_VERSION

#define JITHEADER_VERSION   1

Definition at line 24 of file jitdump.h.

◆ PADDING_8ALIGNED

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

Definition at line 21 of file jitdump.h.

Enumeration Type Documentation

◆ jit_record_type

Enumerator
JIT_CODE_LOAD 
JIT_CODE_MOVE 
JIT_CODE_DEBUG_INFO 
JIT_CODE_CLOSE 
JIT_CODE_UNWINDING_INFO 
JIT_CODE_MAX 

Definition at line 47 of file jitdump.h.

◆ jitdump_flags_bits

Enumerator
JITDUMP_FLAGS_ARCH_TIMESTAMP_BIT 
JITDUMP_FLAGS_MAX_BIT 

Definition at line 26 of file jitdump.h.

Function Documentation

◆ debug_entry_file()

static char* debug_entry_file ( struct debug_entry ent)
inlinestatic

Definition at line 133 of file jitdump.h.

◆ debug_entry_next()

static struct debug_entry* debug_entry_next ( struct debug_entry ent)
static

Definition at line 125 of file jitdump.h.