perf script: Find script file relative to exec path
[linux-2.6-microblaze.git] / tools / perf / util / scripting-engines / trace-event-python.c
index 4e4aa4c..db8f243 100644 (file)
@@ -1876,6 +1876,7 @@ static int python_generate_script(struct tep_handle *pevent, const char *outfile
 
 struct scripting_ops python_scripting_ops = {
        .name                   = "Python",
+       .dirname                = "python",
        .start_script           = python_start_script,
        .flush_script           = python_flush_script,
        .stop_script            = python_stop_script,