Searched refs:scripting_context (Results 1 – 10 of 10) sorted by relevance
/linux-6.14.4/tools/perf/util/ |
D | trace-event-scripting.c | 27 struct scripting_context *scripting_context; variable 104 void scripting_context__update(struct scripting_context *c, in scripting_context__update() 185 if (scripting_context == NULL) in register_python_scripting() 186 scripting_context = malloc(sizeof(*scripting_context)); in register_python_scripting() 188 if (scripting_context == NULL || in register_python_scripting() 192 zfree(&scripting_context); in register_python_scripting() 251 if (scripting_context == NULL) in register_perl_scripting() 252 scripting_context = malloc(sizeof(*scripting_context)); in register_perl_scripting() 254 if (scripting_context == NULL || in register_perl_scripting() 258 zfree(&scripting_context); in register_perl_scripting()
|
D | trace-event.h | 125 struct scripting_context { struct 136 void scripting_context__update(struct scripting_context *scripting_context, argument 143 int common_pc(struct scripting_context *context); 144 int common_flags(struct scripting_context *context); 145 int common_lock_depth(struct scripting_context *context);
|
D | trace-event-parse.c | 17 static int get_common_field(struct scripting_context *context, in get_common_field() 40 int common_lock_depth(struct scripting_context *context) in common_lock_depth() 54 int common_flags(struct scripting_context *context) in common_flags() 68 int common_pc(struct scripting_context *context) in common_pc()
|
/linux-6.14.4/tools/perf/scripts/perl/Perf-Trace-Util/ |
D | Context.c | 42 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS() 65 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS() 88 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS()
|
D | Context.xs | 33 struct scripting_context * context 37 struct scripting_context * context 41 struct scripting_context * context
|
D | typemap | 1 struct scripting_context * T_PTR
|
D | README | 16 scripting_context is a pointer to the perf data in the perf executable
|
/linux-6.14.4/tools/perf/scripts/python/Perf-Trace-Util/ |
D | Context.c | 36 static struct scripting_context *get_args(PyObject *args, const char *name, PyObject **arg2) in get_args() 47 static struct scripting_context *get_scripting_context(PyObject *args) in get_scripting_context() 55 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_pc() 66 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_flags() 77 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_lock_depth() 88 struct scripting_context *c = get_scripting_context(args); in perf_sample_insn() 106 struct scripting_context *c; in perf_set_itrace_options() 132 struct scripting_context *c = get_scripting_context(args); in perf_sample_src()
|
/linux-6.14.4/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 70 extern struct scripting_context *scripting_context; 386 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_tracepoint() 424 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_tracepoint() 468 scripting_context__update(scripting_context, event, sample, evsel, al, addr_al); in perl_process_event() 491 scripting_context->session = session; in perl_start_script()
|
D | trace-event-python.c | 88 extern struct scripting_context *scripting_context; 974 context = _PyCapsule_New(scripting_context, NULL, NULL); in python_process_tracepoint() 1007 val = tep_read_number(scripting_context->pevent, in python_process_tracepoint() 1493 scripting_context__update(scripting_context, event, sample, evsel, al, addr_al); in python_process_event() 1737 perf_script_context = _PyCapsule_New(scripting_context, NULL, NULL); in perf_script_context_init() 1900 scripting_context->session = session; in python_start_script()
|