perf intel-pt: Fix transactions_sample_type
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:18 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jun 2017 14:35:52 +0000 (11:35 -0300)
commit2116074898ff9ff093963adc0fefcabbbbd7ec41
tree981f3575bb1ce4c94d0bc57c876ff17db20780a8
parent5da3b23b3b03d34fbb8cb9947c1a99ea77c2203f
perf intel-pt: Fix transactions_sample_type

'transactions_sample_type' is needed to correctly inject transactions
samples but it was not being set. Set it from the event sample type.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-18-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c