From: Jiri Olsa Date: Tue, 7 Aug 2012 13:20:42 +0000 (+0200) Subject: perf tools: Adding PERF_ATTR_SIZE_VER2 to the header swap check X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=239cc47819ec5e1acde42d416755c332ed5cf2c8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: "Frank Ch. Eigler" Cc: Arun Sharma Cc: Benjamin Redelings Cc: Corey Ashford Cc: Cyrill Gorcunov Cc: Frank Ch. Eigler Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Masami Hiramatsu Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: Stephane Eranian Cc: Tom Zanussi Cc: Ulrich Drepper Link: http://lkml.kernel.org/r/1344345647-11536-8-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- 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: static const int attr_file_abi_sizes[] = { [0] = PERF_ATTR_SIZE_VER0, [1] = PERF_ATTR_SIZE_VER1, + [2] = PERF_ATTR_SIZE_VER2, 0, };