projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d077526
)
perf tools: Adding PERF_ATTR_SIZE_VER2 to the header swap check
author
Jiri Olsa
<
[email protected]
>
Tue, 7 Aug 2012 13:20:42 +0000
(15:20 +0200)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Fri, 10 Aug 2012 19:32:03 +0000
(16:32 -0300)
Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version, so
we have the swap check complete.
Signed-off-by: Jiri Olsa <
[email protected]
>
Cc: "Frank Ch. Eigler" <
[email protected]
>
Cc: Arun Sharma <
[email protected]
>
Cc: Benjamin Redelings <
[email protected]
>
Cc: Corey Ashford <
[email protected]
>
Cc: Cyrill Gorcunov <
[email protected]
>
Cc: Frank Ch. Eigler <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Masami Hiramatsu <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Robert Richter <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Cc: Tom Zanussi <
[email protected]
>
Cc: Ulrich Drepper <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/header.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/header.c
b/tools/perf/util/header.c
index b2da439bce7ab6fc5ab57db4fa71bf7682e9acbf..dd5a53c2944a0d642bf9322cf75d4c03a82ba50d 100644
(file)
--- 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,
};