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


Groups > linux.kernel > #1616592 > unrolled thread

[tip:perf/core] perf vendor events intel: Add missing space in json descriptions

Started bytip-bot for Andi Kleen <tipbot@zytor.com>
First post2017-04-05 08:00 +0200
Last post2017-04-05 08:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:perf/core] perf vendor events intel: Add missing space in json  descriptions tip-bot for Andi Kleen <tipbot@zytor.com> - 2017-04-05 08:00 +0200

#1616592 — [tip:perf/core] perf vendor events intel: Add missing space in json descriptions

Fromtip-bot for Andi Kleen <tipbot@zytor.com>
Date2017-04-05 08:00 +0200
Subject[tip:perf/core] perf vendor events intel: Add missing space in json descriptions
Message-ID<tsM94-6Yl-11@gated-at.bofh.it>
Commit-ID:  3401e8d1e1300742ed41910b9338b9da52689a16
Gitweb:     http://git.kernel.org/tip/3401e8d1e1300742ed41910b9338b9da52689a16
Author:     Andi Kleen <ak@linux.intel.com>
AuthorDate: Wed, 29 Mar 2017 17:22:18 -0700
Committer:  Andi Kleen <ak@linux.intel.com>
CommitDate: Thu, 30 Mar 2017 13:35:50 -0700

perf vendor events intel: Add missing space in json descriptions

Add a missing space in the JSON description after the uncore unit

Before:

perf list
...
  unc_arb_coh_trk_requests.all
       [Unit: uncore_arbNumber of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc]
...

After:

  unc_arb_coh_trk_requests.all
       [Unit: uncore_arb Number of entries allocated. Account for Any type: e.g. Snoop, Core aperture, etc]

Cc: jolsa@kernel.org
Link: http://lkml.kernel.org/n/tip-p989c7x9kaiy2bnkmgpo6cvt@git.kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 tools/perf/pmu-events/jevents.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
index 3a151c3..baa073f 100644
--- a/tools/perf/pmu-events/jevents.c
+++ b/tools/perf/pmu-events/jevents.c
@@ -469,6 +469,7 @@ int json_events(const char *fn,
 				}
 				addfield(map, &desc, ". ", "Unit: ", NULL);
 				addfield(map, &desc, "", pmu, NULL);
+				addfield(map, &desc, "", " ", NULL);
 			} else if (json_streq(map, field, "Filter")) {
 				addfield(map, &filter, "", "", val);
 			} else if (json_streq(map, field, "ScaleUnit")) {

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web