Skip to contentSkip to conversation

perf vendor events intel: Add missing space in json descriptions

tip:perf/core tip-bot for Andi Kleen 1 participant 1 message Apr 5, 2017 perf events

lore
Share & tools
lore

tip-bot for Andi Kleen

author merge bot
#0 lore raw
Commit-ID:  3401e8d1e1300742ed41910b9338b9da52689a16
Gitweb:     http://git.kernel.org/tip/3401e8d1e1300742ed41910b9338b9da52689a16
Author:     Andi Kleen <[email protected]>
AuthorDate: Wed, 29 Mar 2017 17:22:18 -0700
Committer:  Andi Kleen <[email protected]>
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]

---
 tools/perf/pmu-events/jevents.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/pmu-events/jevents.c +1 -0
index 3a151c3..baa073f 100644
@@ -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")) {