Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
event.c File Reference
#include <linux/types.h>
#include "event.h"
#include "debug.h"
#include "sort.h"
#include "string.h"
#include "strlist.h"
#include "thread.h"
#include "thread_map.h"

Go to the source code of this file.

Data Structures

struct  process_symbol_args
 

Functions

const charperf_event__name (unsigned int id)
 
int perf_event__synthesize_modules (struct perf_tool *tool, perf_event__handler_t process, struct machine *machine)
 
int perf_event__synthesize_thread_map (struct perf_tool *tool, struct thread_map *threads, perf_event__handler_t process, struct machine *machine)
 
int perf_event__synthesize_threads (struct perf_tool *tool, perf_event__handler_t process, struct machine *machine)
 
int perf_event__synthesize_kernel_mmap (struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, const char *symbol_name)
 
size_t perf_event__fprintf_comm (union perf_event *event, FILE *fp)
 
int perf_event__process_comm (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine)
 
int perf_event__process_lost (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
 
size_t perf_event__fprintf_mmap (union perf_event *event, FILE *fp)
 
int perf_event__process_mmap (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine)
 
size_t perf_event__fprintf_task (union perf_event *event, FILE *fp)
 
int perf_event__process_task (struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine)
 
size_t perf_event__fprintf (union perf_event *event, FILE *fp)
 
int perf_event__process (struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct machine *machine)
 
void thread__find_addr_map (struct thread *self, struct machine *machine, u8 cpumode, enum map_type type, u64 addr, struct addr_location *al)
 
void thread__find_addr_location (struct thread *thread, struct machine *machine, u8 cpumode, enum map_type type, u64 addr, struct addr_location *al, symbol_filter_t filter)
 
int perf_event__preprocess_sample (const union perf_event *event, struct machine *machine, struct addr_location *al, struct perf_sample *sample, symbol_filter_t filter)
 

Function Documentation

size_t perf_event__fprintf ( union perf_event event,
FILE *  fp 
)

Definition at line 730 of file event.c.

size_t perf_event__fprintf_comm ( union perf_event event,
FILE *  fp 
)

Definition at line 512 of file event.c.

size_t perf_event__fprintf_mmap ( union perf_event event,
FILE *  fp 
)

Definition at line 652 of file event.c.

size_t perf_event__fprintf_task ( union perf_event event,
FILE *  fp 
)

Definition at line 698 of file event.c.

const char* perf_event__name ( unsigned int  id)

Definition at line 28 of file event.c.

int perf_event__preprocess_sample ( const union perf_event event,
struct machine machine,
struct addr_location al,
struct perf_sample sample,
symbol_filter_t  filter 
)

Definition at line 857 of file event.c.

int perf_event__process ( struct perf_tool tool,
union perf_event event,
struct perf_sample sample,
struct machine machine 
)

Definition at line 753 of file event.c.

int perf_event__process_comm ( struct perf_tool *tool  __maybe_unused,
union perf_event event,
struct perf_sample *sample  __maybe_unused,
struct machine machine 
)

Definition at line 517 of file event.c.

int perf_event__process_lost ( struct perf_tool *tool  __maybe_unused,
union perf_event event,
struct perf_sample *sample  __maybe_unused,
struct machine *machine  __maybe_unused 
)

Definition at line 535 of file event.c.

int perf_event__process_mmap ( struct perf_tool tool,
union perf_event event,
struct perf_sample *sample  __maybe_unused,
struct machine machine 
)

Definition at line 659 of file event.c.

int perf_event__process_task ( struct perf_tool *tool  __maybe_unused,
union perf_event event,
struct perf_sample *sample  __maybe_unused,
struct machine machine 
)

Definition at line 705 of file event.c.

int perf_event__synthesize_kernel_mmap ( struct perf_tool tool,
perf_event__handler_t  process,
struct machine machine,
const char symbol_name 
)

Definition at line 448 of file event.c.

int perf_event__synthesize_modules ( struct perf_tool tool,
perf_event__handler_t  process,
struct machine machine 
)

Definition at line 251 of file event.c.

int perf_event__synthesize_thread_map ( struct perf_tool tool,
struct thread_map threads,
perf_event__handler_t  process,
struct machine machine 
)

Definition at line 322 of file event.c.

int perf_event__synthesize_threads ( struct perf_tool tool,
perf_event__handler_t  process,
struct machine machine 
)

Definition at line 380 of file event.c.

void thread__find_addr_location ( struct thread thread,
struct machine machine,
u8  cpumode,
enum map_type  type,
u64  addr,
struct addr_location al,
symbol_filter_t  filter 
)

Definition at line 845 of file event.c.

void thread__find_addr_map ( struct thread self,
struct machine machine,
u8  cpumode,
enum map_type  type,
u64  addr,
struct addr_location al 
)

Definition at line 776 of file event.c.