perf session: Separating data file properties from session
[platform/adaptation/renesas_rcar/renesas_kernel.git] / tools / perf / util / session.h
index e1ca2d0..27c74d3 100644 (file)
@@ -30,16 +30,13 @@ struct ordered_samples {
 
 struct perf_session {
        struct perf_header      header;
-       unsigned long           size;
        struct machines         machines;
        struct perf_evlist      *evlist;
        struct pevent           *pevent;
        struct events_stats     stats;
-       int                     fd;
-       bool                    fd_pipe;
        bool                    repipe;
        struct ordered_samples  ordered_samples;
-       const char              *filename;
+       struct perf_data_file   *file;
 };
 
 #define PRINT_IP_OPT_IP                (1<<0)