perf header: Recognize version number for perf data file
authorJiri Olsa <jolsa@redhat.com>
Wed, 17 Jul 2013 17:49:47 +0000 (19:49 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Jul 2013 20:04:00 +0000 (17:04 -0300)
commit2a08c3ec4f7d6058a450d2d4bc6e366955872707
treeffcd2c8c95e67260993ab8b7f4e96419adc7bcf8
parent8d541e974f4b3ed5db7e278b4d64481af34910a9
perf header: Recognize version number for perf data file

Keep the recognized data file version within 'struct perf_header'.

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-8-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c
tools/perf/util/header.h