Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717272

[tip:perf/core] perf jevents: Support FCMask and PortMask

From tip-bot for Andi Kleen <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:perf/core] perf jevents: Support FCMask and PortMask
Date 2017-08-22 12:30 +0200
Message-ID <uheBA-10X-25@gated-at.bofh.it> (permalink)
References <ufeFI-4jg-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  c73881eeb1a0ee9b45d8bc9f45ab02e23d81c5c5
Gitweb:     http://git.kernel.org/tip/c73881eeb1a0ee9b45d8bc9f45ab02e23d81c5c5
Author:     Andi Kleen <ak@linux.intel.com>
AuthorDate: Wed, 16 Aug 2017 15:02:00 -0700
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 17 Aug 2017 16:39:14 -0300

perf jevents: Support FCMask and PortMask

Skylake server uncore IIO events need new FCMask/PortMask fields. Support
those in the json parser and pass it through as a filter.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170816220201.19182-2-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/pmu-events/jevents.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index 2350f60..d51dc9c 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -137,6 +137,8 @@ static struct field {
 	{ "AnyThread",	"any=" },
 	{ "EdgeDetect",	"edge=" },
 	{ "SampleAfterValue", "period=" },
+	{ "FCMask",	"fc_mask=" },
+	{ "PortMask",	"ch_mask=" },
 	{ NULL, NULL }
 };
 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] perf, tools, json: Support FCMask and PortMask Andi Kleen <andi@firstfloor.org> - 2017-08-17 00:10 +0200
  Re: [PATCH 1/2] perf, tools, json: Support FCMask and PortMask Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-08-17 17:30 +0200
  [tip:perf/core] perf jevents: Support FCMask and PortMask tip-bot for Andi Kleen <tipbot@zytor.com> - 2017-08-22 12:30 +0200

csiph-web