]> git.baikalelectronics.ru Git - kernel.git/commit
perf stat: Disable DIR_FORMAT feature for 'perf stat record'
authorJiri Olsa <jolsa@kernel.org>
Tue, 9 Apr 2019 10:01:56 +0000 (12:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Apr 2019 14:27:18 +0000 (11:27 -0300)
commit32ac8ec6d98b5b8862c9d9527149843b3a9002a4
treec1d12faab55ec63db2b57030f7ac107e7616a6a4
parent30251c6f4e14ef8905dc3be9644c7a79798e0581
perf stat: Disable DIR_FORMAT feature for 'perf stat record'

Arnaldo reported assertion in perf stat record:

  assertion failed at util/header.c:875

There's no support for this in the 'perf state record' command, disable
the feature for that case.

Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 3da315ced137 ("perf header: Add DIR_FORMAT feature to describe directory data")
Link: http://lkml.kernel.org/r/20190409100156.20303-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c