Lines Matching refs:scripting_ops

2566 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()
3022 scripting_ops->process_switch(event, sample, machine); in process_switch_event()
3035 if (scripting_ops && scripting_ops->process_auxtrace_error) { in process_auxtrace_error()
3036 scripting_ops->process_auxtrace_error(session, event); in process_auxtrace_error()
3059 if (scripting_ops && scripting_ops->process_throttle) in process_throttle_event()
3060 scripting_ops->process_throttle(event, sample, machine); in process_throttle_event()
3203 if (script->show_switch_events || (scripting_ops && scripting_ops->process_switch)) in __cmd_script()
3205 if (scripting_ops && scripting_ops->process_auxtrace_error) in __cmd_script()
3243 static int list_available_languages_cb(struct scripting_ops *ops, const char *spec) in list_available_languages_cb()
3263 if (!scripting_ops) { in find_script()
3269 scripting_ops = script_spec__lookup(++ext); in find_script()
3270 if (!scripting_ops) in find_script()
3280 exec_path, scripting_ops->dirname, script); in find_script()
3310 scripting_ops = script_spec__lookup(spec); in parse_scriptname()
3311 if (!scripting_ops) { in parse_scriptname()
3323 scripting_ops = script_spec__lookup(++ext); in parse_scriptname()
3324 if (!scripting_ops) { in parse_scriptname()
4519 scripting_ops = script_spec__lookup(generate_script_lang); in cmd_script()
4520 if (!scripting_ops && ends_with(generate_script_lang, ".py")) { in cmd_script()
4521 scripting_ops = script_spec__lookup("python"); in cmd_script()
4525 } else if (!scripting_ops && ends_with(generate_script_lang, ".pl")) { in cmd_script()
4526 scripting_ops = script_spec__lookup("perl"); in cmd_script()
4531 if (!scripting_ops) { in cmd_script()
4541 err = scripting_ops->generate_script(session->tevent.pevent, filename); in cmd_script()
4543 err = scripting_ops->generate_script(NULL, filename); in cmd_script()
4554 err = scripting_ops->start_script(script_name, argc, argv, session); in cmd_script()