#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <limits.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <sys/mman.h>
#include <syscall.h>
#include <err.h>
#include "jvmti_agent.h"
#include "../util/jitdump.h"
Go to the source code of this file.
◆ JIT_LANG
◆ NSEC_PER_SEC
#define NSEC_PER_SEC 1000000000 |
◆ debug_cache_init()
static int debug_cache_init |
( |
void |
| ) |
|
|
static |
◆ get_arch_timestamp()
static uint64_t get_arch_timestamp |
( |
void |
| ) |
|
|
inlinestatic |
◆ get_e_machine()
static int get_e_machine |
( |
struct jitheader * |
hdr | ) |
|
|
static |
◆ gettid()
static pid_t gettid |
( |
void |
| ) |
|
|
inlinestatic |
◆ init_arch_timestamp()
static void init_arch_timestamp |
( |
void |
| ) |
|
|
static |
◆ jvmti_close()
int jvmti_close |
( |
void * |
agent | ) |
|
◆ jvmti_open()
void* jvmti_open |
( |
void |
| ) |
|
◆ jvmti_write_code()
int jvmti_write_code |
( |
void * |
agent, |
|
|
char const * |
sym, |
|
|
uint64_t |
vma, |
|
|
void const * |
code, |
|
|
unsigned int const |
size |
|
) |
| |
◆ jvmti_write_debug_info()
int jvmti_write_debug_info |
( |
void * |
agent, |
|
|
uint64_t |
code, |
|
|
int |
nr_lines, |
|
|
jvmti_line_info_t * |
li, |
|
|
const char *const * |
file_names |
|
) |
| |
◆ perf_close_marker_file()
static void perf_close_marker_file |
( |
void |
| ) |
|
|
static |
◆ perf_get_timestamp()
static uint64_t perf_get_timestamp |
( |
void |
| ) |
|
|
inlinestatic |
◆ perf_open_marker_file()
static int perf_open_marker_file |
( |
int |
fd | ) |
|
|
static |
◆ timespec_to_ns()
static uint64_t timespec_to_ns |
( |
const struct timespec * |
ts | ) |
|
|
inlinestatic |
◆ jit_path
◆ marker_addr
◆ perf_clk_id
int perf_clk_id = CLOCK_MONOTONIC |
|
static |
◆ use_arch_timestamp