Home
last modified time | relevance | path

Searched refs:scripting_ops (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/tools/perf/util/
Dtrace-event-scripting.c87 struct scripting_ops python_scripting_unsupported_ops = {
97 static void register_python_scripting(struct scripting_ops *scripting_ops) in register_python_scripting() argument
103 script_spec_register("Python", scripting_ops) || in register_python_scripting()
104 script_spec_register("py", scripting_ops)) { in register_python_scripting()
116 extern struct scripting_ops python_scripting_ops;
152 struct scripting_ops perl_scripting_unsupported_ops = {
162 static void register_perl_scripting(struct scripting_ops *scripting_ops) in register_perl_scripting() argument
168 script_spec_register("Perl", scripting_ops) || in register_perl_scripting()
169 script_spec_register("pl", scripting_ops)) { in register_perl_scripting()
181 extern struct scripting_ops perl_scripting_ops;
Dtrace-event.h73 struct scripting_ops { struct
101 int script_spec_register(const char *spec, struct scripting_ops *ops); argument
/Linux-v5.15/tools/perf/
Dbuiltin-script.c2101 static struct scripting_ops *scripting_ops; variable
2139 if (scripting_ops && scripting_ops->process_stat) in process_stat()
2140 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2147 if (scripting_ops && scripting_ops->process_stat_interval) in process_stat_interval()
2148 scripting_ops->process_stat_interval(tstamp); in process_stat_interval()
2159 return scripting_ops ? scripting_ops->flush_script() : 0; in flush_scripting()
2166 return scripting_ops ? scripting_ops->stop_script() : 0; in cleanup_scripting()
2240 if (scripting_ops) { in process_sample_event()
2249 scripting_ops->process_event(event, sample, evsel, &al, addr_al_ptr); in process_sample_event()
2466 if (scripting_ops && scripting_ops->process_switch) in process_switch_event()
[all …]
/Linux-v5.15/tools/perf/util/scripting-engines/
Dtrace-event-perl.c753 struct scripting_ops perl_scripting_ops = {
Dtrace-event-python.c2102 struct scripting_ops python_scripting_ops = {