Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
probe-finder.c File Reference
#include <sys/utsname.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <dwarf-regs.h>
#include <linux/bitops.h>
#include "event.h"
#include "debug.h"
#include "util.h"
#include "symbol.h"
#include "probe-finder.h"

Go to the source code of this file.

Data Structures

struct  find_scope_param
 
struct  dwarf_callback_param
 
struct  pubname_callback_param
 

Macros

#define MAX_BASIC_TYPE_BITS   64
 
#define BYTES_TO_BITS(nb)   ((nb) * BITS_PER_LONG / sizeof(long))
 
#define MAX_VAR_LEN   64
 

Functions

struct debuginfo * debuginfo__new (const char *path)
 
struct debuginfo * debuginfo__new_online_kernel (unsigned long addr)
 
void debuginfo__delete (struct debuginfo *self)
 
int debuginfo__find_trace_events (struct debuginfo *self, struct perf_probe_event *pev, struct probe_trace_event **tevs, int max_tevs)
 
int debuginfo__find_available_vars_at (struct debuginfo *self, struct perf_probe_event *pev, struct variable_list **vls, int max_vls, bool externs)
 
int debuginfo__find_probe_point (struct debuginfo *self, unsigned long addr, struct perf_probe_point *ppt)
 
int debuginfo__find_line_range (struct debuginfo *self, struct line_range *lr)
 

Macro Definition Documentation

#define BYTES_TO_BITS (   nb)    ((nb) * BITS_PER_LONG / sizeof(long))

Definition at line 367 of file probe-finder.c.

#define MAX_BASIC_TYPE_BITS   64

Definition at line 43 of file probe-finder.c.

#define MAX_VAR_LEN   64

Definition at line 1207 of file probe-finder.c.

Function Documentation

void debuginfo__delete ( struct debuginfo *  self)

Definition at line 252 of file probe-finder.c.

int debuginfo__find_available_vars_at ( struct debuginfo *  self,
struct perf_probe_event pev,
struct variable_list **  vls,
int  max_vls,
bool  externs 
)

Definition at line 1287 of file probe-finder.c.

int debuginfo__find_line_range ( struct debuginfo *  self,
struct line_range lr 
)

Definition at line 1519 of file probe-finder.c.

int debuginfo__find_probe_point ( struct debuginfo *  self,
unsigned long  addr,
struct perf_probe_point ppt 
)

Definition at line 1323 of file probe-finder.c.

int debuginfo__find_trace_events ( struct debuginfo *  self,
struct perf_probe_event pev,
struct probe_trace_event **  tevs,
int  max_tevs 
)

Definition at line 1180 of file probe-finder.c.

struct debuginfo* debuginfo__new ( const char path)
read

Definition at line 224 of file probe-finder.c.

struct debuginfo* debuginfo__new_online_kernel ( unsigned long  addr)
read

Definition at line 238 of file probe-finder.c.