Re: [PATCH v0 2/3] perf/x86/intel/pt: Export cpu frequency ratios needed by PT decoders
From: Alexander Shishkin
Date: Thu Apr 28 2016 - 11:55:58 EST
Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> writes:
> 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.
>
> Signed-off-by: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
With a slightly better changelog: