diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-07-17 19:49:43 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-17 16:46:25 -0300 |
commit | 944d62ba4c8e1c9bb2962a70e3d495106fae8cd9 (patch) | |
tree | f8b9fe1b70d9a53fa9cb53bf17f47ec2d33a5718 /tools/perf/util/header.h | |
parent | 75211dbfabf1de3a42703f4d3cd6f6e047289d40 (diff) | |
download | blackbird-op-linux-944d62ba4c8e1c9bb2962a70e3d495106fae8cd9.tar.gz blackbird-op-linux-944d62ba4c8e1c9bb2962a70e3d495106fae8cd9.zip |
perf header: Remove attr_offset from perf_header
Removing attr_offset from perf_header as it's possible to use it as a
local variable.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.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>
Link: http://lkml.kernel.org/r/1374083403-14591-4-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.h')
-rw-r--r-- | tools/perf/util/header.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h index 0bacb2d6eafa..6fa80f947f71 100644 --- a/tools/perf/util/header.h +++ b/tools/perf/util/header.h @@ -86,7 +86,6 @@ struct perf_session_env { struct perf_header { bool needs_swap; - s64 attr_offset; u64 data_offset; u64 data_size; DECLARE_BITMAP(adds_features, HEADER_FEAT_BITS); |