Skip to content

Commit

Permalink
perf tools: Remove frozen from perf_header struct
Browse files Browse the repository at this point in the history
Removing frozen from perf_header struct as it's no longer used.

Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
Jiri Olsa authored and acmel committed May 29, 2013
1 parent 66cd3f3 commit 78e3a1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tools/perf/util/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -2391,7 +2391,6 @@ int perf_session__write_header(struct perf_session *session,
}
lseek(fd, header->data_offset + header->data_size, SEEK_SET);

header->frozen = 1;
return 0;
}

Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion tools/perf/util/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ struct perf_session_env {
};

struct perf_header {
int frozen;
bool needs_swap;
s64 attr_offset;
u64 data_offset;
Expand Down

0 comments on commit 78e3a1f

Please sign in to comment.