|
Linux Perf
|
#include <inttypes.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <errno.h>#include <linux/bitmap.h>#include <linux/time64.h>#include <stdbool.h>#include <EXTERN.h>#include <perl.h>#include "../../perf.h"#include "../callchain.h"#include "../machine.h"#include "../thread.h"#include "../event.h"#include "../trace-event.h"#include "../evsel.h"#include "../debug.h"
Go to the source code of this file.
Macros | |
| #define | HAS_BOOL |
| #define | TRACE_EVENT_TYPE_MAX ((1 << (sizeof(unsigned short) * 8)) - 1) |
Typedefs | |
| typedef PerlInterpreter * | INTERP |
Functions | |
| void | boot_Perf__Trace__Context (pTHX_ CV *cv) |
| void | boot_DynaLoader (pTHX_ CV *cv) |
| void | xs_init (pTHX) |
| static | DECLARE_BITMAP (events_defined, TRACE_EVENT_TYPE_MAX) |
| static void | define_symbolic_value (const char *ev_name, const char *field_name, const char *field_value, const char *field_str) |
| static void | define_symbolic_values (struct print_flag_sym *field, const char *ev_name, const char *field_name) |
| static void | define_symbolic_field (const char *ev_name, const char *field_name) |
| static void | define_flag_value (const char *ev_name, const char *field_name, const char *field_value, const char *field_str) |
| static void | define_flag_values (struct print_flag_sym *field, const char *ev_name, const char *field_name) |
| static void | define_flag_field (const char *ev_name, const char *field_name, const char *delim) |
| static void | define_event_symbols (struct event_format *event, const char *ev_name, struct print_arg *args) |
| static SV * | perl_process_callchain (struct perf_sample *sample, struct perf_evsel *evsel, struct addr_location *al) |
| static void | perl_process_tracepoint (struct perf_sample *sample, struct perf_evsel *evsel, struct addr_location *al) |
| static void | perl_process_event_generic (union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel) |
| static void | perl_process_event (union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct addr_location *al) |
| static void | run_start_sub (void) |
| static int | perl_start_script (const char *script, int argc, const char **argv) |
| static int | perl_flush_script (void) |
| static int | perl_stop_script (void) |
| static int | perl_generate_script (struct pevent *pevent, const char *outfile) |
Variables | |
| INTERP | my_perl |
| struct scripting_context * | scripting_context |
| static char * | cur_field_name |
| static int | zero_flag_atom |
| struct scripting_ops | perl_scripting_ops |
| #define HAS_BOOL |
Definition at line 33 of file trace-event-perl.c.
| #define TRACE_EVENT_TYPE_MAX ((1 << (sizeof(unsigned short) * 8)) - 1) |
Definition at line 64 of file trace-event-perl.c.
| typedef PerlInterpreter* INTERP |
Definition at line 48 of file trace-event-perl.c.
| void boot_DynaLoader | ( | pTHX_ CV * | cv | ) |
| void boot_Perf__Trace__Context | ( | pTHX_ CV * | cv | ) |
|
static |
|
static |
|
static |
Definition at line 169 of file trace-event-perl.c.
|
static |
|
static |
|
static |
Definition at line 111 of file trace-event-perl.c.
|
static |
|
static |
|
static |
Definition at line 516 of file trace-event-perl.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 430 of file trace-event-perl.c.
|
static |
|
static |
|
static |
Definition at line 524 of file trace-event-perl.c.
|
static |
Definition at line 463 of file trace-event-perl.c.
| void xs_init | ( | pTHX | ) |
|
static |
Definition at line 71 of file trace-event-perl.c.
| INTERP my_perl |
Definition at line 62 of file trace-event-perl.c.
| struct scripting_ops perl_scripting_ops |
Definition at line 745 of file trace-event-perl.c.
| struct scripting_context* scripting_context |
Definition at line 32 of file trace-event-scripting.c.
|
static |
Definition at line 72 of file trace-event-perl.c.