Searched refs:scripting_context (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.xs33 struct scripting_context * context
37 struct scripting_context * context
41 struct scripting_context * context
H A DContext.c42 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0)));
65 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0)));
88 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0)));
/linux-master/tools/perf/util/
H A Dtrace-event-scripting.c22 struct scripting_context *scripting_context; variable in typeref:struct:scripting_context
24 void scripting_context__update(struct scripting_context *c,
103 if (scripting_context == NULL)
104 scripting_context = malloc(sizeof(*scripting_context));
106 if (scripting_context == NULL ||
110 zfree(&scripting_context);
169 if (scripting_context == NULL)
170 scripting_context
[all...]
H A Dtrace-event.h127 struct scripting_context { struct
138 void scripting_context__update(struct scripting_context *scripting_context,
145 int common_pc(struct scripting_context *context);
146 int common_flags(struct scripting_context *context);
147 int common_lock_depth(struct scripting_context *context);
H A Dtrace-event-parse.c17 static int get_common_field(struct scripting_context *context,
40 int common_lock_depth(struct scripting_context *context)
54 int common_flags(struct scripting_context *context)
68 int common_pc(struct scripting_context *context)
/linux-master/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c46 static struct scripting_context *get_args(PyObject *args, const char *name, PyObject **arg2)
57 static struct scripting_context *get_scripting_context(PyObject *args)
65 struct scripting_context *c = get_scripting_context(args);
76 struct scripting_context *c = get_scripting_context(args);
87 struct scripting_context *c = get_scripting_context(args);
98 struct scripting_context *c = get_scripting_context(args);
116 struct scripting_context *c;
142 struct scripting_context *c = get_scripting_context(args);
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c70 extern struct scripting_context *scripting_context;
385 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context))));
423 XPUSHs(sv_2mortal(newSViv(PTR2IV(scripting_context))));
467 scripting_context__update(scripting_context, event, sample, evsel, al, addr_al);
490 scripting_context->session = session;
H A Dtrace-event-python.c104 extern struct scripting_context *scripting_context;
993 context = _PyCapsule_New(scripting_context, NULL, NULL);
1026 val = tep_read_number(scripting_context->pevent,
1511 scripting_context__update(scripting_context, event, sample, evsel, al, addr_al);
1753 perf_script_context = _PyCapsule_New(scripting_context, NULL, NULL);
1931 scripting_context->session = session;

Completed in 154 milliseconds