Lines Matching refs:scripting_ops

2028 static struct scripting_ops	*scripting_ops;  variable
2066 if (scripting_ops && scripting_ops->process_stat) in process_stat()
2067 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2074 if (scripting_ops && scripting_ops->process_stat_interval) in process_stat_interval()
2075 scripting_ops->process_stat_interval(tstamp); in process_stat_interval()
2086 return scripting_ops ? scripting_ops->flush_script() : 0; in flush_scripting()
2093 return scripting_ops ? scripting_ops->stop_script() : 0; in cleanup_scripting()
2140 if (scripting_ops) in process_sample_event()
2141 scripting_ops->process_event(event, sample, evsel, &al); in process_sample_event()
2357 if (scripting_ops && scripting_ops->process_switch) in process_switch_event()
2358 scripting_ops->process_switch(event, sample, machine); in process_switch_event()
2504 if (script->show_switch_events || (scripting_ops && scripting_ops->process_switch)) in __cmd_script()
2543 struct scripting_ops *ops;
2550 struct scripting_ops *ops) in script_spec__new()
2577 int script_spec_register(const char *spec, struct scripting_ops *ops) in script_spec_register()
2594 static struct scripting_ops *script_spec__lookup(const char *spec) in script_spec__lookup()
2638 scripting_ops = script_spec__lookup(spec); in parse_scriptname()
2639 if (!scripting_ops) { in parse_scriptname()
2651 scripting_ops = script_spec__lookup(++ext); in parse_scriptname()
2652 if (!scripting_ops) { in parse_scriptname()
3882 scripting_ops = script_spec__lookup(generate_script_lang); in cmd_script()
3883 if (!scripting_ops) { in cmd_script()
3889 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()
3895 err = scripting_ops->start_script(script_name, argc, argv); in cmd_script()