Lines Matching refs:script
1921 * Start trace script
1923 static int python_start_script(const char *script, int argc, const char **argv,
1946 command_line[0] = script;
1955 command_line[0] = Py_DecodeLocale(script, NULL);
1968 fp = fopen(script, "r");
1970 sprintf(buf, "Can't open python script \"%s\"", script);
1976 err = PyRun_SimpleFile(fp, script);
1978 fprintf(stderr, "Error running python script %s\n", script);
1984 fprintf(stderr, "Error starting python script %s\n", script);
2012 * Stop trace script
2045 fprintf(ofp, "# perf script event handlers, "
2046 "generated by perf script -g python\n");
2063 fprintf(ofp, "# See the perf-script-python Documentation for the list "
2216 fprintf(stderr, "generated Python script: %s\n", fname);
2224 fprintf(stderr, "Generating Python perf-script is not supported."