summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-05-24 13:16:39 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-05-29 15:17:35 +0300
commit78e3a1f1ab932b52333ba14497d663d3ad758d16 (patch)
tree9c00ba9d4114e601d1f4c258375cbff7098a8034 /tools/perf/util/header.c
parent66cd3f3a6ce6b69537ee62b2f2ea1775be139dff (diff)
downloadlinux-stable-78e3a1f1ab932b52333ba14497d663d3ad758d16.tar.gz
linux-stable-78e3a1f1ab932b52333ba14497d663d3ad758d16.tar.bz2
linux-stable-78e3a1f1ab932b52333ba14497d663d3ad758d16.zip
perf tools: Remove frozen from perf_header struct
Removing frozen from perf_header struct as it's no longer used. Signed-off-by: Jiri 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.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.c')
-rw-r--r--tools/perf/util/header.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index 326068a593a5..738d3b8d9745 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -2391,7 +2391,6 @@ out_err_write:
}
lseek(fd, header->data_offset + header->data_size, SEEK_SET);
- header->frozen = 1;
return 0;
}
@@ -2871,7 +2870,6 @@ int perf_session__read_header(struct perf_session *session, int fd)
session->pevent))
goto out_delete_evlist;
- header->frozen = 1;
return 0;
out_errno:
return -errno;