Commit e05a8997 authored by Kan Liang's avatar Kan Liang Committed by 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: default avatarKan Liang <kan.liang@linux.intel.com>
Reviewed-by: default avatarJiri 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment