perf, tools, record: Synthesize thread map and cpu map

Synthesize the per attr thread maps and cpu maps in perf record.

This allows code from perf stat called from perf script to access this
information.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
1 file changed