Home
last modified time | relevance | path

Searched refs:scripting_context (Results 1 – 10 of 10) sorted by relevance

/external/linux-tools-perf/scripts/python/Perf-Trace-Util/
DContext.c30 static struct scripting_context *scripting_context; in perf_trace_context_common_pc() local
37 scripting_context = PyCObject_AsVoidPtr(context); in perf_trace_context_common_pc()
38 retval = common_pc(scripting_context); in perf_trace_context_common_pc()
46 static struct scripting_context *scripting_context; in perf_trace_context_common_flags() local
53 scripting_context = PyCObject_AsVoidPtr(context); in perf_trace_context_common_flags()
54 retval = common_flags(scripting_context); in perf_trace_context_common_flags()
62 static struct scripting_context *scripting_context; in perf_trace_context_common_lock_depth() local
69 scripting_context = PyCObject_AsVoidPtr(context); in perf_trace_context_common_lock_depth()
70 retval = common_lock_depth(scripting_context); in perf_trace_context_common_lock_depth()
/external/linux-tools-perf/util/
Dtrace-event-scripting.c32 struct scripting_context *scripting_context; variable
91 scripting_context = malloc(sizeof(struct scripting_context)); in register_python_scripting()
152 scripting_context = malloc(sizeof(struct scripting_context)); in register_perl_scripting()
Dtrace-event.h298 struct scripting_context { struct
302 int common_pc(struct scripting_context *context); argument
303 int common_flags(struct scripting_context *context);
304 int common_lock_depth(struct scripting_context *context);
Dtrace-event-parse.c3130 int common_pc(struct scripting_context *context) in common_pc()
3135 int common_flags(struct scripting_context *context) in common_flags()
3140 int common_lock_depth(struct scripting_context *context) in common_lock_depth()
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/
DContext.c55 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS()
78 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS()
101 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS()
DContext.xs33 struct scripting_context * context
37 struct scripting_context * context
41 struct scripting_context * context
Dtypemap1 struct scripting_context * T_PTR
DREADME16 scripting_context is a pointer to the perf data in the perf executable
/external/linux-tools-perf/util/scripting-engines/
Dtrace-event-perl.c58 extern struct scripting_context *scripting_context;
281 scripting_context->event_data = data; in perl_process_event()
288 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_event()
322 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_event()
Dtrace-event-python.c44 extern struct scripting_context *scripting_context;
252 scripting_context->event_data = data; in python_process_event()
254 context = PyCObject_FromVoidPtr(scripting_context, NULL); in python_process_event()