perf tools: Rename struct perf_data_file to perf_data
[linux-2.6-microblaze.git] / tools / perf / builtin-mem.c
index 6940490..5a4a6f8 100644 (file)
@@ -236,13 +236,13 @@ static int process_sample_event(struct perf_tool *tool,
 
 static int report_raw_events(struct perf_mem *mem)
 {
-       struct perf_data_file file = {
+       struct perf_data data = {
                .path = input_name,
                .mode = PERF_DATA_MODE_READ,
                .force = mem->force,
        };
        int ret;
-       struct perf_session *session = perf_session__new(&file, false,
+       struct perf_session *session = perf_session__new(&data, false,
                                                         &mem->tool);
 
        if (session == NULL)