]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/util/data.c
perf data: Move size to struct perf_data_file
[linux.git] / tools / perf / util / data.c
index d8cfc19ddb1051e69b217801121f127c0b000bfc..09eceda17fc29f27c0c092dea11af979641b02d9 100644 (file)
@@ -82,7 +82,7 @@ static int open_file_read(struct perf_data *data)
                goto out_close;
        }
 
-       data->size = st.st_size;
+       data->file.size = st.st_size;
        return fd;
 
  out_close: