Commit-ID:  239cc47819ec5e1acde42d416755c332ed5cf2c8
Gitweb:     http://git.kernel.org/tip/239cc47819ec5e1acde42d416755c332ed5cf2c8
Author:     Jiri Olsa <jo...@redhat.com>
AuthorDate: Tue, 7 Aug 2012 15:20:42 +0200
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Fri, 10 Aug 2012 16:32:03 -0300

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 <jo...@redhat.com>
Cc: "Frank Ch. Eigler" <f...@redhat.com>
Cc: Arun Sharma <asha...@fb.com>
Cc: Benjamin Redelings <benjamin.redeli...@nescent.org>
Cc: Corey Ashford <cjash...@linux.vnet.ibm.com>
Cc: Cyrill Gorcunov <gorcu...@openvz.org>
Cc: Frank Ch. Eigler <f...@redhat.com>
Cc: Frederic Weisbecker <fweis...@gmail.com>
Cc: Ingo Molnar <mi...@elte.hu>
Cc: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
Cc: Robert Richter <robert.rich...@amd.com>
Cc: Stephane Eranian <eran...@google.com>
Cc: Tom Zanussi <tzanu...@gmail.com>
Cc: Ulrich Drepper <drep...@gmail.com>
Link: 
http://lkml.kernel.org/r/1344345647-11536-8-git-send-email-jo...@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 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 b2da439..dd5a53c 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -1829,6 +1829,7 @@ out_free:
 static const int attr_file_abi_sizes[] = {
        [0] = PERF_ATTR_SIZE_VER0,
        [1] = PERF_ATTR_SIZE_VER1,
+       [2] = PERF_ATTR_SIZE_VER2,
        0,
 };
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to