Lines Matching defs:script
1907 * Start trace script
1909 static int python_start_script(const char *script, int argc, const char **argv,
1923 command_line[0] = Py_DecodeLocale(script, NULL);
1931 fp = fopen(script, "r");
1933 sprintf(buf, "Can't open python script \"%s\"", script);
1939 err = PyRun_SimpleFile(fp, script);
1941 fprintf(stderr, "Error running python script %s\n", script);
1947 fprintf(stderr, "Error starting python script %s\n", script);
1975 * Stop trace script
2008 fprintf(ofp, "# perf script event handlers, "
2009 "generated by perf script -g python\n");
2026 fprintf(ofp, "# See the perf-script-python Documentation for the list "
2179 fprintf(stderr, "generated Python script: %s\n", fname);
2187 fprintf(stderr, "Generating Python perf-script is not supported."