> Please also add documentation Documentation/perf.data-file-format.txt, but I > just noticed that not even PERF_RECORD_SWITCH is documented there...
That file only covers fields not generated by the kernel, but this is coming from the kernel. Kernel records are documented in the manpage, but Vince usually updates that on his own. -Andi