Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1671934 > unrolled thread
| Started by | tip-bot for Adrian Hunter <tipbot@zytor.com> |
|---|---|
| First post | 2017-06-21 20:40 +0200 |
| Last post | 2017-06-21 20:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[tip:perf/core] perf intel-pt: Fix transactions_sample_type tip-bot for Adrian Hunter <tipbot@zytor.com> - 2017-06-21 20:40 +0200
| From | tip-bot for Adrian Hunter <tipbot@zytor.com> |
|---|---|
| Date | 2017-06-21 20:40 +0200 |
| Subject | [tip:perf/core] perf intel-pt: Fix transactions_sample_type |
| Message-ID | <tUSHM-1ub-9@gated-at.bofh.it> |
Commit-ID: 2116074898ff9ff093963adc0fefcabbbbd7ec41
Gitweb: http://git.kernel.org/tip/2116074898ff9ff093963adc0fefcabbbbd7ec41
Author: Adrian Hunter <adrian.hunter@intel.com>
AuthorDate: Fri, 26 May 2017 11:17:18 +0300
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 21 Jun 2017 11:35:52 -0300
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index 3ae03f9..6df8364 100644
--- a/tools/perf/util/intel-pt.c
+++ b/tools/perf/util/intel-pt.c
@@ -2035,6 +2035,7 @@ static int intel_pt_synth_events(struct intel_pt *pt,
return err;
}
pt->sample_transactions = true;
+ pt->transactions_sample_type = attr.sample_type;
pt->transactions_id = id;
id += 1;
evlist__for_each_entry(evlist, evsel) {
Back to top | Article view | linux.kernel
csiph-web