perf auxtrace: Fix queue resize
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 14 Aug 2018 08:46:08 +0000 (11:46 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Aug 2018 22:00:53 +0000 (19:00 -0300)
commit99cbbe56eb8bede625f410ab62ba34673ffa7d21
tree319226c60548e88158e0e5f8027871c538264ffd
parent5508672d7f4949f15c316ffd947228f130498534
perf auxtrace: Fix queue resize

When the number of queues grows beyond 32, the array of queues is
resized but not all members were being copied. Fix by also copying
'tid', 'cpu' and 'set'.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: stable@vger.kernel.org
Fixes: e502789302a6e ("perf auxtrace: Add helpers for queuing AUX area tracing data")
Link: http://lkml.kernel.org/r/20180814084608.6563-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/auxtrace.c