Linux Perf
intel-pt-insn-decoder.c File Reference
#include <stdio.h>
#include <string.h>
#include <endian.h>
#include <byteswap.h>
#include "event.h"
#include "insn.h"
#include "inat.c"
#include "insn.c"
#include "intel-pt-insn-decoder.h"
#include "dump-insn.h"
Include dependency graph for intel-pt-insn-decoder.c:

Go to the source code of this file.

Functions

static void intel_pt_insn_decoder (struct insn *insn, struct intel_pt_insn *intel_pt_insn)
 
int intel_pt_get_insn (const unsigned char *buf, size_t len, int x86_64, struct intel_pt_insn *intel_pt_insn)
 
const char * dump_insn (struct perf_insn *x, uint64_t ip __maybe_unused, u8 *inbuf, int inlen, int *lenp)
 
const char * intel_pt_insn_name (enum intel_pt_insn_op op)
 
int intel_pt_insn_desc (const struct intel_pt_insn *intel_pt_insn, char *buf, size_t buf_len)
 
int intel_pt_insn_type (enum intel_pt_insn_op op)
 

Variables

const char * branch_name []
 

Function Documentation

◆ dump_insn()

const char* dump_insn ( struct perf_insn x,
uint64_t ip  __maybe_unused,
u8 *  inbuf,
int  inlen,
int *  lenp 
)

Definition at line 183 of file intel-pt-insn-decoder.c.

Here is the call graph for this function:

◆ intel_pt_get_insn()

int intel_pt_get_insn ( const unsigned char *  buf,
size_t  len,
int  x86_64,
struct intel_pt_insn intel_pt_insn 
)

Definition at line 166 of file intel-pt-insn-decoder.c.

Here is the call graph for this function:

◆ intel_pt_insn_decoder()

static void intel_pt_insn_decoder ( struct insn insn,
struct intel_pt_insn intel_pt_insn 
)
static

Definition at line 36 of file intel-pt-insn-decoder.c.

Here is the call graph for this function:

◆ intel_pt_insn_desc()

int intel_pt_insn_desc ( const struct intel_pt_insn intel_pt_insn,
char *  buf,
size_t  buf_len 
)

Definition at line 224 of file intel-pt-insn-decoder.c.

Here is the call graph for this function:

◆ intel_pt_insn_name()

const char* intel_pt_insn_name ( enum intel_pt_insn_op  op)

Definition at line 219 of file intel-pt-insn-decoder.c.

◆ intel_pt_insn_type()

int intel_pt_insn_type ( enum intel_pt_insn_op  op)

Definition at line 244 of file intel-pt-insn-decoder.c.

Variable Documentation

◆ branch_name