perf data: Fix perf.data documentation for HEADER_CPU_TOPOLOGY
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Jun 2019 20:03:18 +0000 (17:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Jun 2019 19:20:11 +0000 (16:20 -0300)
commit36edfb940195b62c79bc8b148720c8275659a8c7
tree15add4503dbaa4dbb31f1993de09ced0db47b69b
parent0ccdb8407a4660f6dbc5977bc060917d2c3e7986
perf data: Fix perf.data documentation for HEADER_CPU_TOPOLOGY

The 'die' info isn't in the same array as core and socket ids, and we
missed the 'dies' string list, that comes right after the 'core' +
'socket' id variable length array, followed by the VLA for the dies.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: c9cb12c5ba08 ("perf header: Add die information in CPU topology")
Link: https://lkml.kernel.org/n/tip-nubi6mxp2n8ofvlx7ph6k3h6@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf.data-file-format.txt