]> Git Repo - linux.git/blobdiff - tools/perf/builtin-script.c
perf session: Separating data file properties from session
[linux.git] / tools / perf / builtin-script.c
index f0c77a1996161240aec27444f55eae6a0e53ae61..27de6068049d053426f0a1d918361321b6b6cbec 100644 (file)
@@ -1525,7 +1525,7 @@ int cmd_script(int argc, const char **argv, const char *prefix __maybe_unused)
                        return -1;
                }
 
-               input = open(session->filename, O_RDONLY);      /* input_name */
+               input = open(file.path, O_RDONLY);      /* input_name */
                if (input < 0) {
                        perror("failed to open file");
                        return -1;
This page took 0.03213 seconds and 4 git commands to generate.