We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ab285 commit 0c71113Copy full SHA for 0c71113
tools/perf/Documentation/perf.data-file-format.txt
@@ -153,10 +153,18 @@ struct {
153
HEADER_CPU_TOPOLOGY = 13,
154
155
String lists defining the core and CPU threads topology.
156
+The string lists are followed by a variable length array
157
+which contains core_id and socket_id of each cpu.
158
+The number of entries can be determined by the size of the
159
+section minus the sizes of both string lists.
160
161
struct {
162
struct perf_header_string_list cores; /* Variable length */
163
struct perf_header_string_list threads; /* Variable length */
164
+ struct {
165
+ uint32_t core_id;
166
+ uint32_t socket_id;
167
+ } cpus[nr]; /* Variable length records */
168
};
169
170
Example:
0 commit comments