Linux Perf
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "../perf.h"
#include "debug.h"
#include "trace-event.h"
#include "sane_ctype.h"
Go to the source code of this file.
Classes | |
struct | flag |
Functions | |
static int | get_common_field (struct scripting_context *context, int *offset, int *size, const char *type) |
int | common_lock_depth (struct scripting_context *context) |
int | common_flags (struct scripting_context *context) |
int | common_pc (struct scripting_context *context) |
unsigned long long | raw_field_value (struct event_format *event, const char *name, void *data) |
unsigned long long | read_size (struct event_format *event, void *ptr, int size) |
void | event_format__fprintf (struct event_format *event, int cpu, void *data, int size, FILE *fp) |
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 __maybe_unused) |
void | parse_saved_cmdline (struct pevent *pevent, char *file, unsigned int size __maybe_unused) |
int | parse_ftrace_file (struct pevent *pevent, char *buf, unsigned long size) |
int | parse_event_file (struct pevent *pevent, char *buf, unsigned long size, char *sys) |
struct event_format * | trace_find_next_event (struct pevent *pevent, struct event_format *event) |
unsigned long long | eval_flag (const char *flag) |
Variables | |
static const struct flag | flags [] |
int common_flags | ( | struct scripting_context * | context | ) |
int common_lock_depth | ( | struct scripting_context * | context | ) |
int common_pc | ( | struct scripting_context * | context | ) |
unsigned long long eval_flag | ( | const char * | flag | ) |
Definition at line 240 of file trace-event-parse.c.
void event_format__fprintf | ( | struct event_format * | event, |
int | cpu, | ||
void * | data, | ||
int | size, | ||
FILE * | fp | ||
) |
void event_format__print | ( | struct event_format * | event, |
int | cpu, | ||
void * | data, | ||
int | size | ||
) |
|
static |
Definition at line 32 of file trace-event-parse.c.
int parse_event_file | ( | struct pevent * | pevent, |
char * | buf, | ||
unsigned long | size, | ||
char * | sys | ||
) |
Definition at line 186 of file trace-event-parse.c.
int parse_ftrace_file | ( | struct pevent * | pevent, |
char * | buf, | ||
unsigned long | size | ||
) |
Definition at line 181 of file trace-event-parse.c.
void parse_ftrace_printk | ( | struct pevent * | pevent, |
char * | file, | ||
unsigned int size | __maybe_unused | ||
) |
Definition at line 139 of file trace-event-parse.c.
void parse_saved_cmdline | ( | struct pevent * | pevent, |
char * | file, | ||
unsigned int size | __maybe_unused | ||
) |
unsigned long long raw_field_value | ( | struct event_format * | event, |
const char * | name, | ||
void * | data | ||
) |
Definition at line 97 of file trace-event-parse.c.
unsigned long long read_size | ( | struct event_format * | event, |
void * | ptr, | ||
int | size | ||
) |
Definition at line 111 of file trace-event-parse.c.
struct event_format* trace_find_next_event | ( | struct pevent * | pevent, |
struct event_format * | event | ||
) |
Definition at line 192 of file trace-event-parse.c.
|
static |
Definition at line 224 of file trace-event-parse.c.