|
Linux Perf
|
#include <sys/types.h>#include <stdio.h>#include <getopt.h>#include <stddef.h>#include <libelf.h>#include <string.h>#include <stdlib.h>#include <inttypes.h>#include <limits.h>#include <fcntl.h>#include <err.h>#include "perf.h"#include "genelf.h"#include "../util/jitdump.h"
Go to the source code of this file.
Classes | |
| struct | Elf_Note |
| struct | options |
| struct | buildid_note |
Macros | |
| #define | NT_GNU_BUILD_ID 3 |
| #define | JVMTI |
| #define | BUILD_ID_URANDOM /* different uuid for each run */ |
Functions | |
| static void | gen_build_id (struct buildid_note *note, unsigned long load_addr __maybe_unused, const void *code __maybe_unused, size_t csize __maybe_unused) |
| static int | jit_add_eh_frame_info (Elf *e, void *unwinding, uint64_t unwinding_header_size, uint64_t unwinding_size, uint64_t base_offset) |
| int | jit_write_elf (int fd, uint64_t load_addr, const char *sym, const void *code, int csize, void *debug __maybe_unused, int nr_debug_entries __maybe_unused, void *unwinding, uint64_t unwinding_header_size, uint64_t unwinding_size) |
Variables | |
| static char | shd_string_table [] |
| static struct buildid_note | bnote |
| static Elf_Sym | symtab [] |
|
static |
|
static |
| int jit_write_elf | ( | int | fd, |
| uint64_t | load_addr, | ||
| const char * | sym, | ||
| const void * | code, | ||
| int | csize, | ||
| void *debug | __maybe_unused, | ||
| int nr_debug_entries | __maybe_unused, | ||
| void * | unwinding, | ||
| uint64_t | unwinding_header_size, | ||
| uint64_t | unwinding_size | ||
| ) |
|
static |
|
static |
|
static |