Re: [PATCH v0 2/3] perf/x86/intel/pt: Export cpu frequency ratios needed by PT decoders
From: Borislav Petkov
Date: Tue May 03 2016 - 09:53:49 EST
On Thu, Apr 28, 2016 at 06:35:45PM +0300, Alexander Shishkin wrote:
> In order for Intel PT decoders to infer correct crystal clock and bus
> frequencies that are required to correctly decode timing information
> from a PT stream (MTC and CBR packets), export them as sysfs attributes:
>
> * max_nonturbo_ratio: ratio between the invariant TSC and base clock;
> * tsc_art_ratio: TSC to core crystal clock ratio.
I guess new sysfs nodes need to be documented:
Documentation/ABI/...
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.