Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/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/src/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/src/tools/perf/util/
Dtrace-event-scripting.c31 struct scripting_context *scripting_context; variable
94 scripting_context = malloc(sizeof(struct scripting_context)); in register_python_scripting()
157 scripting_context = malloc(sizeof(struct scripting_context)); in register_perl_scripting()
Dtrace-event.h82 struct scripting_context { struct
87 int common_pc(struct scripting_context *context); argument
88 int common_flags(struct scripting_context *context);
89 int common_lock_depth(struct scripting_context *context);
Dtrace-event-parse.c44 static int get_common_field(struct scripting_context *context, in get_common_field()
66 int common_lock_depth(struct scripting_context *context) in common_lock_depth()
80 int common_flags(struct scripting_context *context) in common_flags()
94 int common_pc(struct scripting_context *context) in common_pc()
/external/linux-tools-perf/src/tools/perf/util/scripting-engines/
Dtrace-event-perl.c61 extern struct scripting_context *scripting_context;
294 scripting_context->event_data = data; in perl_process_tracepoint()
295 scripting_context->pevent = evsel->tp_format->pevent; in perl_process_tracepoint()
302 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_tracepoint()
337 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context)))); in perl_process_tracepoint()
Dtrace-event-python.c46 extern struct scripting_context *scripting_context;
278 scripting_context->event_data = data; in python_process_tracepoint()
279 scripting_context->pevent = evsel->tp_format->pevent; in python_process_tracepoint()
281 context = PyCObject_FromVoidPtr(scripting_context, NULL); in python_process_tracepoint()