perf record: Set read_format for inherit_stat
authorJiri Olsa <jolsa@kernel.org>
Thu, 24 Aug 2017 16:27:31 +0000 (18:27 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Aug 2017 14:05:10 +0000 (11:05 -0300)
commita17f06978769735ab5c7598c46881fa201e9b1a2
tree9e9658c8041a6fe23f2b257bd28974997e7f5807
parent12c15302dd4b768105d4b7a487ed4858ccab94fc
perf record: Set read_format for inherit_stat

Set read_format for what we expect to get from read event generated by
perf_event_attr::inherit_stat.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20170824162737.7813-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c