Linux Perf
vdso.c File Reference
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <linux/kernel.h>
#include "vdso.h"
#include "util.h"
#include "symbol.h"
#include "machine.h"
#include "thread.h"
#include "linux/string.h"
#include "debug.h"
#include "find-vdso-map.c"
Include dependency graph for vdso.c:

Go to the source code of this file.

Classes

struct  vdso_file
 
struct  vdso_info
 

Macros

#define VDSO__TEMP_FILE_NAME   "/tmp/perf-vdso.so-XXXXXX"
 

Functions

static struct vdso_infovdso_info__new (void)
 
static char * get_file (struct vdso_file *vdso_file)
 
void machine__exit_vdso (struct machine *machine)
 
static struct dso__machine__addnew_vdso (struct machine *machine, const char *short_name, const char *long_name)
 
static enum dso_type machine__thread_dso_type (struct machine *machine, struct thread *thread)
 
static struct dsomachine__find_vdso (struct machine *machine, struct thread *thread)
 
struct dsomachine__findnew_vdso (struct machine *machine, struct thread *thread)
 
bool dso__is_vdso (struct dso *dso)
 

Macro Definition Documentation

◆ VDSO__TEMP_FILE_NAME

#define VDSO__TEMP_FILE_NAME   "/tmp/perf-vdso.so-XXXXXX"

Definition at line 26 of file vdso.c.

Function Documentation

◆ __machine__addnew_vdso()

static struct dso* __machine__addnew_vdso ( struct machine machine,
const char *  short_name,
const char *  long_name 
)
static

Definition at line 124 of file vdso.c.

Here is the call graph for this function:

◆ dso__is_vdso()

bool dso__is_vdso ( struct dso dso)

Definition at line 353 of file vdso.c.

◆ get_file()

static char* get_file ( struct vdso_file vdso_file)
static

Definition at line 68 of file vdso.c.

Here is the call graph for this function:

◆ machine__exit_vdso()

void machine__exit_vdso ( struct machine machine)

Definition at line 105 of file vdso.c.

◆ machine__find_vdso()

static struct dso* machine__find_vdso ( struct machine machine,
struct thread thread 
)
static

Definition at line 285 of file vdso.c.

Here is the call graph for this function:

◆ machine__findnew_vdso()

struct dso* machine__findnew_vdso ( struct machine machine,
struct thread thread 
)

Definition at line 315 of file vdso.c.

Here is the call graph for this function:

◆ machine__thread_dso_type()

static enum dso_type machine__thread_dso_type ( struct machine machine,
struct thread thread 
)
static

Definition at line 138 of file vdso.c.

Here is the call graph for this function:

◆ vdso_info__new()

static struct vdso_info* vdso_info__new ( void  )
static

Definition at line 44 of file vdso.c.