]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/util/data.h
perf data: Add global path holder
[linux.git] / tools / perf / util / data.h
index 85f9c0dbf9826b5e9d1ad984bf5c73ecb13c3919..2bce28117ccfd9d8626b4bc0fbfbd139a4c7f15a 100644 (file)
@@ -10,12 +10,13 @@ enum perf_data_mode {
 };
 
 struct perf_data_file {
-       const char      *path;
+       char            *path;
        int              fd;
        unsigned long    size;
 };
 
 struct perf_data {
+       const char              *path;
        struct perf_data_file    file;
        bool                     is_pipe;
        bool                     force;