#include "util.h"
#include <dirent.h>
#include <mntent.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 <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdbool.h>
#include <linux/list.h>
#include <linux/kernel.h>
#include "../perf.h"
#include "trace-event.h"
#include <api/fs/tracing_path.h>
#include "evsel.h"
#include "debug.h"
Go to the source code of this file.
◆ for_each_event
#define for_each_event |
( |
|
dir, |
|
|
|
dent, |
|
|
|
tps |
|
) |
| |
Value:while ((dent = readdir(
dir))) \
if (dent->d_type == DT_DIR && \
(strcmp(dent->d_name, ".")) && \
(strcmp(dent->d_name, ".."))) \
Definition at line 171 of file trace-event-info.c.
◆ VERSION
◆ bigendian()
◆ copy_event_system()
static int copy_event_system |
( |
const char * |
sys, |
|
|
struct tracepoint_path * |
tps |
|
) |
| |
|
static |
◆ get_tracepoints_path()
static struct tracepoint_path* get_tracepoints_path |
( |
struct list_head * |
pattrs | ) |
|
|
static |
◆ have_tracepoints()
bool have_tracepoints |
( |
struct list_head * |
pattrs | ) |
|
◆ name_in_tp_list()
◆ put_tracepoints_path()
◆ read_tracing_data()
int read_tracing_data |
( |
int |
fd, |
|
|
struct list_head * |
pattrs |
|
) |
| |
◆ record_event_files()
◆ record_file()
static int record_file |
( |
const char * |
file, |
|
|
ssize_t |
hdr_sz |
|
) |
| |
|
static |
◆ record_ftrace_files()
◆ record_ftrace_printk()
static int record_ftrace_printk |
( |
void |
| ) |
|
|
static |
◆ record_header_files()
static int record_header_files |
( |
void |
| ) |
|
|
static |
◆ record_proc_kallsyms()
static int record_proc_kallsyms |
( |
void |
| ) |
|
|
static |
◆ record_saved_cmdline()
static int record_saved_cmdline |
( |
void |
| ) |
|
|
static |
◆ system_in_tp_list()
◆ tracing_data_get()
struct tracing_data* tracing_data_get |
( |
struct list_head * |
pattrs, |
|
|
int |
fd, |
|
|
bool |
temp |
|
) |
| |
◆ tracing_data_header()
static int tracing_data_header |
( |
void |
| ) |
|
|
static |
◆ tracing_data_put()
◆ output_fd