perf stat record: Initialize record features
authorJiri Olsa <jolsa@kernel.org>
Thu, 5 Nov 2015 14:40:47 +0000 (15:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Dec 2015 18:15:17 +0000 (15:15 -0300)
commit3ba78bd00e508bf46a6aa2b8e296dc8287ea4c29
treed7fb49a89d65dd40b7497bdff22808822877ac4e
parent4979d0c7d0c73a3e799d4dcfbacd3cd11cc55638
perf stat record: Initialize record features

Disabling all non stat related features.

Also as we now enable STAT feature in the data file, adding code to
instruct session open to skip sample type checking for stat data files.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Kan Liang <kan.liang@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1446734469-11352-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/session.c