2 #ifndef _PERF_UTIL_TRACE_EVENT_H 3 #define _PERF_UTIL_TRACE_EVENT_H 5 #include <traceevent/event-parse.h> 23 pevent_func_resolver_t *
func);
32 int cpu,
void *
data,
int size, FILE *fp);
39 char *buf,
unsigned long size,
char *sys);
51 struct event_format *
event);
76 int (*start_script) (
const char *script,
int argc,
const char **argv);
77 int (*flush_script) (void);
78 int (*stop_script) (void);
86 int (*generate_script) (
struct pevent *
pevent,
const char *outfile);
int parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size)
int trace_event__register_resolver(struct machine *machine, pevent_func_resolver_t *func)
int parse_event_file(struct pevent *pevent, char *buf, unsigned long size, char *sys)
void setup_perl_scripting(void)
int common_pc(struct scripting_context *context)
void parse_saved_cmdline(struct pevent *pevent, char *file, unsigned int size)
int trace_event__init(struct trace_event *t)
void event_format__fprintf(struct event_format *event, int cpu, void *data, int size, FILE *fp)
static void process_event(struct perf_script *script, struct perf_sample *sample, struct perf_evsel *evsel, struct addr_location *al, struct machine *machine)
int common_flags(struct scripting_context *context)
int common_lock_depth(struct scripting_context *context)
static struct trace_event tevent
int script_spec_register(const char *spec, struct scripting_ops *ops)
struct event_format * trace_find_next_event(struct pevent *pevent, struct event_format *event)
void trace_event__cleanup(struct trace_event *t)
void setup_python_scripting(void)
void event_format__print(struct event_format *event, int cpu, void *data, int size)
void parse_ftrace_printk(struct pevent *pevent, char *file, unsigned int size)
void parse_proc_kallsyms(struct pevent *pevent, char *file, unsigned int size)
unsigned long long read_size(struct event_format *event, void *ptr, int size)
ssize_t trace_report(int fd, struct trace_event *tevent, bool repipe)
struct tracing_data * tracing_data_get(struct list_head *pattrs, int fd, bool temp)
struct event_format * trace_event__tp_format_id(int id)
struct plugin_list * plugin_list
int read_tracing_data(int fd, struct list_head *pattrs)
int tracing_data_put(struct tracing_data *tdata)
unsigned long long raw_field_value(struct event_format *event, const char *name, void *data)
static void process_stat_interval(u64 tstamp)
struct event_format * trace_event__tp_format(const char *sys, const char *name)
unsigned int scripting_max_stack
unsigned long long eval_flag(const char *flag)