[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1413343733-7973-1-git-send-email-wangnan0@huawei.com>
Date: Wed, 15 Oct 2014 11:28:53 +0800
From: Wang Nan <wangnan0@...wei.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <zhangzhiqiang.zhang@...wei.com>,
<peifeiyue@...wei.com>, <wangnan0@...wei.com>
Subject: [PATCH] perf tools: fix incorrect header string
Commit fbe96f29 (perf tools: Make perf.data more self-descriptive)
read '/proc/cpuinfo' to form cpu descriptor. For ARM, it finds
'Processor' field. It is correct when the patch merged, but due to
commit b4b8f770 (ARM: kernel: update cpuinfo to print all online CPUs
features), the corresponding information becomes 'model name' field.
This patch simply corrects it.
Signed-off-by: Wang Nan <wangnan0@...wei.com>
---
tools/perf/perf-sys.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
index 937e432..4293970 100644
--- a/tools/perf/perf-sys.h
+++ b/tools/perf/perf-sys.h
@@ -113,7 +113,7 @@
#define mb() ((void(*)(void))0xffff0fa0)()
#define wmb() ((void(*)(void))0xffff0fa0)()
#define rmb() ((void(*)(void))0xffff0fa0)()
-#define CPUINFO_PROC "Processor"
+#define CPUINFO_PROC "model name"
#endif
#ifdef __aarch64__
--
1.8.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists