Lines Matching defs:scripting_ops
2027 static struct scripting_ops *scripting_ops;
2065 if (scripting_ops && scripting_ops->process_stat)
2066 scripting_ops->process_stat(&stat_config, counter, tstamp);
2073 if (scripting_ops && scripting_ops->process_stat_interval)
2074 scripting_ops->process_stat_interval(tstamp);
2085 return scripting_ops ? scripting_ops->flush_script() : 0;
2092 return scripting_ops ? scripting_ops->stop_script() : 0;
2139 if (scripting_ops)
2140 scripting_ops->process_event(event, sample, evsel, &al);
2356 if (scripting_ops && scripting_ops->process_switch && !filter_cpu(sample))
2357 scripting_ops->process_switch(event, sample, machine);
2508 if (script->show_switch_events || (scripting_ops && scripting_ops->process_switch))
2547 struct scripting_ops *ops;
2554 struct scripting_ops *ops)
2581 int script_spec_register(const char *spec, struct scripting_ops *ops)
2598 static struct scripting_ops *script_spec__lookup(const char *spec)
2642 scripting_ops = script_spec__lookup(spec);
2643 if (!scripting_ops) {
2655 scripting_ops = script_spec__lookup(++ext);
2656 if (!scripting_ops) {
3890 scripting_ops = script_spec__lookup(generate_script_lang);
3891 if (!scripting_ops) {
3897 err = scripting_ops->generate_script(session->tevent.pevent,
3903 err = scripting_ops->start_script(script_name, argc, argv);