Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dtrace-event-scripting.c30 struct scripting_ops *ops;
37 struct scripting_ops *ops) in script_spec__new()
64 static int script_spec_register(const char *spec, struct scripting_ops *ops) in script_spec_register()
80 struct scripting_ops *script_spec__lookup(const char *spec) in script_spec__lookup()
90 int script_spec__for_each(int (*cb)(struct scripting_ops *ops, const char *spec)) in script_spec__for_each()
172 struct scripting_ops python_scripting_unsupported_ops = {
182 static void register_python_scripting(struct scripting_ops *scripting_ops) in register_python_scripting() argument
188 script_spec_register("Python", scripting_ops) || in register_python_scripting()
189 script_spec_register("py", scripting_ops)) { in register_python_scripting()
201 extern struct scripting_ops python_scripting_ops;
[all …]
H A Dtrace-event.h88 struct scripting_ops { struct
116 struct scripting_ops *script_spec__lookup(const char *spec); argument
117 int script_spec__for_each(int (*cb)(struct scripting_ops *ops, const char *spec));
/linux/tools/perf/
H A Dbuiltin-script.c2566 static struct scripting_ops *scripting_ops; variable
2601 if (scripting_ops && scripting_ops->process_stat) in process_stat()
2602 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2609 if (scripting_ops && scripting_ops->process_stat_interval) in process_stat_interval()
2610 scripting_ops->process_stat_interval(tstamp); in process_stat_interval()
2623 return scripting_ops ? scripting_ops->flush_script() : 0; in flush_scripting()
2630 return scripting_ops ? scripting_ops->stop_script() : 0; in cleanup_scripting()
2704 if (scripting_ops) { in process_sample_event()
2713 scripting_ops->process_event(event, sample, evsel, &al, addr_al_ptr); in process_sample_event()
3021 if (scripting_ops && scripting_ops->process_switch && !filter_cpu(sample)) in process_switch_event()
[all …]
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c2196 struct scripting_ops python_scripting_ops = {