Merge branch 'linus' into perf/core
[cascardo/linux.git] / tools / perf / util / header.c
index 195a47a..b7da463 100644 (file)
@@ -1379,6 +1379,8 @@ static void print_numa_topology(struct perf_header *ph, int fd __maybe_unused,
 
                str = tmp + 1;
                fprintf(fp, "# node%u cpu list : %s\n", c, str);
+
+               str += strlen(str) + 1;
        }
        return;
 error: