From 49fbe3ff60448d40d48967f6c559c2430c5b0f14 Mon Sep 17 00:00:00 2001 From: Stephane Eranian Date: Sun, 11 Dec 2011 00:28:54 +0100 Subject: [PATCH] --- yaml --- r: 277349 b: refs/heads/master c: f1ac18af219835fd5b8e19c14d2dd75c55f78737 h: refs/heads/master i: 277347: b02ac956847517d76d664a31847d3026913fcc62 v: v3 --- [refs] | 2 +- trunk/tools/perf/util/parse-events.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5890f099dc7c..9ddbfd1c1c3a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9c1497ea591b25d491f8e795f90a1405100b75ef +refs/heads/master: f1ac18af219835fd5b8e19c14d2dd75c55f78737 diff --git a/trunk/tools/perf/util/parse-events.c b/trunk/tools/perf/util/parse-events.c index 586ab3fe60f8..531c283fc0c5 100644 --- a/trunk/tools/perf/util/parse-events.c +++ b/trunk/tools/perf/util/parse-events.c @@ -38,6 +38,7 @@ static struct event_symbol event_symbols[] = { { CHW(BRANCH_INSTRUCTIONS), "branch-instructions", "branches" }, { CHW(BRANCH_MISSES), "branch-misses", "" }, { CHW(BUS_CYCLES), "bus-cycles", "" }, + { CHW(REF_CPU_CYCLES), "ref-cycles", "" }, { CSW(CPU_CLOCK), "cpu-clock", "" }, { CSW(TASK_CLOCK), "task-clock", "" }, @@ -68,6 +69,7 @@ static const char *hw_event_names[PERF_COUNT_HW_MAX] = { "bus-cycles", "stalled-cycles-frontend", "stalled-cycles-backend", + "ref-cycles", }; static const char *sw_event_names[PERF_COUNT_SW_MAX] = {