#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include "../perf.h"
#include "util.h"
#include "trace-event.h"
#include "debug.h"
Go to the source code of this file.
◆ __do_read()
static int __do_read |
( |
int |
fd, |
|
|
void * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ do_read()
static int do_read |
( |
void * |
data, |
|
|
int |
size |
|
) |
| |
|
static |
◆ read4()
static unsigned int read4 |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read8()
static unsigned long long read8 |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_event_file()
static int read_event_file |
( |
struct pevent * |
pevent, |
|
|
char * |
sys, |
|
|
unsigned long long |
size |
|
) |
| |
|
static |
◆ read_event_files()
static int read_event_files |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_ftrace_file()
static int read_ftrace_file |
( |
struct pevent * |
pevent, |
|
|
unsigned long long |
size |
|
) |
| |
|
static |
◆ read_ftrace_files()
static int read_ftrace_files |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_ftrace_printk()
static int read_ftrace_printk |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_header_files()
static int read_header_files |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_proc_kallsyms()
static int read_proc_kallsyms |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_saved_cmdline()
static int read_saved_cmdline |
( |
struct pevent * |
pevent | ) |
|
|
static |
◆ read_string()
static char* read_string |
( |
void |
| ) |
|
|
static |
◆ skip()
static void skip |
( |
int |
size | ) |
|
|
static |
◆ trace_report()
ssize_t trace_report |
( |
int |
fd, |
|
|
struct trace_event * |
tevent, |
|
|
bool |
__repipe |
|
) |
| |
◆ input_fd
◆ repipe
◆ trace_data_size