提交 e05a8997 编写于 作者: K Kan Liang 提交者: Arnaldo Carvalho de Melo

perf header: Rename "sibling cores" to "sibling sockets"

The "sibling cores" actually shows the sibling CPUs of a socket.  The
name "sibling cores" is very misleading.

Rename "sibling cores" to "sibling sockets"
Signed-off-by: NKan Liang <kan.liang@linux.intel.com>
Reviewed-by: NJiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1559688644-106558-4-git-send-email-kan.liang@linux.intel.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 db5742b6
...@@ -168,7 +168,7 @@ struct { ...@@ -168,7 +168,7 @@ struct {
}; };
Example: Example:
sibling cores : 0-8 sibling sockets : 0-8
sibling dies : 0-3 sibling dies : 0-3
sibling dies : 4-7 sibling dies : 4-7
sibling threads : 0-1 sibling threads : 0-1
......
...@@ -1460,7 +1460,7 @@ static void print_cpu_topology(struct feat_fd *ff, FILE *fp) ...@@ -1460,7 +1460,7 @@ static void print_cpu_topology(struct feat_fd *ff, FILE *fp)
str = ph->env.sibling_cores; str = ph->env.sibling_cores;
for (i = 0; i < nr; i++) { for (i = 0; i < nr; i++) {
fprintf(fp, "# sibling cores : %s\n", str); fprintf(fp, "# sibling sockets : %s\n", str);
str += strlen(str) + 1; str += strlen(str) + 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册