Re: [RFC PATCH] perf/core: exposing type of context-switch-out event
From: Milian Wolff
Date: Thu Mar 01 2018 - 15:57:19 EST
On Donnerstag, 1. März 2018 20:36:59 CET Andi Kleen wrote:
> > 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.
Ah, TIL - thanks for that tip! But I still think it would be good to have a
complete documentation of the perf.data file format in one place. I guess
patches would be welcome to add more aspects of the file format there, even if
it's generated by the kernel? That helps for thirdparty tools that parse the
perf.data files (like perfparser used by QtCreator and hotspot).
Cheers
--
Milian Wolff | milian.wolff@xxxxxxxx | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL ExpertsAttachment:
smime.p7s
Description: S/MIME cryptographic signature