lkml.org 
[lkml]   [2018]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH] perf/core: exposing type of context-switch-out event
Date
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@kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2018-03-01 21:57    [W:0.036 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site