diff options
author | Jiri Olsa <jolsa@redhat.com> | 2012-08-07 09:20:42 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-08-10 15:32:03 -0400 |
commit | 239cc47819ec5e1acde42d416755c332ed5cf2c8 (patch) | |
tree | e617758ffe3afd4c6bfefe363c657c7297a836f5 | |
parent | d077526485d5c9b12fe85d0b2b3b7041e6bc5f91 (diff) |
perf tools: Adding PERF_ATTR_SIZE_VER2 to the header swap check
Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version, so
we have the swap check complete.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Arun Sharma <asharma@fb.com>
Cc: Benjamin Redelings <benjamin.redelings@nescent.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Ulrich Drepper <drepper@gmail.com>
Link: http://lkml.kernel.org/r/1344345647-11536-8-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/header.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index b2da439bce7a..dd5a53c2944a 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c | |||
@@ -1829,6 +1829,7 @@ out_free: | |||
1829 | static const int attr_file_abi_sizes[] = { | 1829 | static const int attr_file_abi_sizes[] = { |
1830 | [0] = PERF_ATTR_SIZE_VER0, | 1830 | [0] = PERF_ATTR_SIZE_VER0, |
1831 | [1] = PERF_ATTR_SIZE_VER1, | 1831 | [1] = PERF_ATTR_SIZE_VER1, |
1832 | [2] = PERF_ATTR_SIZE_VER2, | ||
1832 | 0, | 1833 | 0, |
1833 | }; | 1834 | }; |
1834 | 1835 | ||