mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	linux-kernel@vger.kernel.org, Jiri Olsa <jolsa@redhat.com>
Subject: [PATCH V7 01/10] perf auxtrace: Add Intel PT as an AUX area tracing type
Date: Thu,  9 Jul 2015 16:14:37 +0300	[thread overview]
Message-ID: <1436447686-9001-2-git-send-email-adrian.hunter@intel.com> (raw)
In-Reply-To: <1436447686-9001-1-git-send-email-adrian.hunter@intel.com>

Add the Intel Processor Trace type constant PERF_AUXTRACE_INTEL_PT.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/util/auxtrace.c | 1 +
 tools/perf/util/auxtrace.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c
index 7e7405c9b936..ea29022a4f52 100644
--- a/tools/perf/util/auxtrace.c
+++ b/tools/perf/util/auxtrace.c
@@ -884,6 +884,7 @@ int perf_event__process_auxtrace_info(struct perf_tool *tool __maybe_unused,
 		fprintf(stdout, " type: %u\n", type);
 
 	switch (type) {
+	case PERF_AUXTRACE_INTEL_PT:
 	case PERF_AUXTRACE_UNKNOWN:
 	default:
 		return -EINVAL;
diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h
index 471aecbc4d68..7d12f33a3a06 100644
--- a/tools/perf/util/auxtrace.h
+++ b/tools/perf/util/auxtrace.h
@@ -39,6 +39,7 @@ struct events_stats;
 
 enum auxtrace_type {
 	PERF_AUXTRACE_UNKNOWN,
+	PERF_AUXTRACE_INTEL_PT,
 };
 
 enum itrace_period_type {
-- 
1.9.1


  reply	other threads:[~2015-07-09 13:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 13:14 [PATCH V7 00/10] perf tools: Introduce an abstraction for AUX Area and Instruction Tracing Adrian Hunter
2015-07-09 13:14 ` Adrian Hunter [this message]
2015-07-09 13:14 ` [PATCH V7 02/10] perf tools: Add Intel PT packet decoder Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 03/10] perf tools: Add Intel PT instruction decoder Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 04/10] perf tools: Add Intel PT log Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 05/10] perf tools: Add Intel PT decoder Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 06/10] perf tools: Add Intel PT support Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 07/10] perf tools: Take Intel PT into use Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 08/10] perf tools: Add Intel BTS support Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 09/10] perf tools: Put itrace options into an asciidoc include Adrian Hunter
2015-07-09 13:14 ` [PATCH V7 10/10] perf tools: Add example call-graph script Adrian Hunter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436447686-9001-2-git-send-email-adrian.hunter@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=acme@kernel.org \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome