perf header: Fix wrong node write in NUMA_TOPOLOGY feature
authorJiri Olsa <jolsa@kernel.org>
Tue, 19 Feb 2019 09:58:12 +0000 (10:58 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Feb 2019 15:20:55 +0000 (12:20 -0300)
commitb00ccb27f97367d89e2d7b419ed198b0985be55d
treed9c05ce5553ed6763d3bc6740bb5705b45bfd492
parent83244772a4cf9490a54182be2f65f45d6b1a1ee8
perf header: Fix wrong node write in NUMA_TOPOLOGY feature

We are currently passing the node index instead of the real node number.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: fbe96f29ce4b ("perf tools: Make perf.data more self-descriptive (v8)"
Link: http://lkml.kernel.org/r/20190219095815.15931-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c