Lines Matching refs:scripting_ops

2385 static struct scripting_ops	*scripting_ops;  variable
2420 if (scripting_ops && scripting_ops->process_stat) in process_stat()
2421 scripting_ops->process_stat(&stat_config, counter, tstamp); in process_stat()
2428 if (scripting_ops && scripting_ops->process_stat_interval) in process_stat_interval()
2429 scripting_ops->process_stat_interval(tstamp); in process_stat_interval()
2442 return scripting_ops ? scripting_ops->flush_script() : 0; in flush_scripting()
2449 return scripting_ops ? scripting_ops->stop_script() : 0; in cleanup_scripting()
2523 if (scripting_ops) { in process_sample_event()
2532 scripting_ops->process_event(event, sample, evsel, &al, addr_al_ptr); in process_sample_event()
2750 if (scripting_ops && scripting_ops->process_switch && !filter_cpu(sample)) in process_switch_event()
2751 scripting_ops->process_switch(event, sample, machine); in process_switch_event()
2763 if (scripting_ops && scripting_ops->process_auxtrace_error) { in process_auxtrace_error()
2764 scripting_ops->process_auxtrace_error(session, event); in process_auxtrace_error()
2787 if (scripting_ops && scripting_ops->process_throttle) in process_throttle_event()
2788 scripting_ops->process_throttle(event, sample, machine); in process_throttle_event()
2922 if (script->show_switch_events || (scripting_ops && scripting_ops->process_switch)) in __cmd_script()
2924 if (scripting_ops && scripting_ops->process_auxtrace_error) in __cmd_script()
2963 struct scripting_ops *ops;
2970 struct scripting_ops *ops) in script_spec__new()
2997 int script_spec_register(const char *spec, struct scripting_ops *ops) in script_spec_register()
3014 static struct scripting_ops *script_spec__lookup(const char *spec) in script_spec__lookup()
3042 if (!scripting_ops) { in find_script()
3048 scripting_ops = script_spec__lookup(++ext); in find_script()
3049 if (!scripting_ops) in find_script()
3059 exec_path, scripting_ops->dirname, script); in find_script()
3089 scripting_ops = script_spec__lookup(spec); in parse_scriptname()
3090 if (!scripting_ops) { in parse_scriptname()
3102 scripting_ops = script_spec__lookup(++ext); in parse_scriptname()
3103 if (!scripting_ops) { in parse_scriptname()
4441 scripting_ops = script_spec__lookup(generate_script_lang); in cmd_script()
4442 if (!scripting_ops) { in cmd_script()
4448 err = scripting_ops->generate_script(session->tevent.pevent, in cmd_script()
4451 err = scripting_ops->generate_script(NULL, "perf-script"); in cmd_script()
4461 err = scripting_ops->start_script(script_name, argc, argv, session); in cmd_script()