Commit 78e3a1f1 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf tools: Remove frozen from perf_header struct

Removing frozen from perf_header struct as it's no longer used.
Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1369394201-20044-4-git-send-email-jolsa@redhat.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 66cd3f3a
...@@ -2391,7 +2391,6 @@ int perf_session__write_header(struct perf_session *session, ...@@ -2391,7 +2391,6 @@ int perf_session__write_header(struct perf_session *session,
} }
lseek(fd, header->data_offset + header->data_size, SEEK_SET); lseek(fd, header->data_offset + header->data_size, SEEK_SET);
header->frozen = 1;
return 0; return 0;
} }
...@@ -2871,7 +2870,6 @@ int perf_session__read_header(struct perf_session *session, int fd) ...@@ -2871,7 +2870,6 @@ int perf_session__read_header(struct perf_session *session, int fd)
session->pevent)) session->pevent))
goto out_delete_evlist; goto out_delete_evlist;
header->frozen = 1;
return 0; return 0;
out_errno: out_errno:
return -errno; return -errno;
......
...@@ -84,7 +84,6 @@ struct perf_session_env { ...@@ -84,7 +84,6 @@ struct perf_session_env {
}; };
struct perf_header { struct perf_header {
int frozen;
bool needs_swap; bool needs_swap;
s64 attr_offset; s64 attr_offset;
u64 data_offset; u64 data_offset;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment