lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH V2 4/9] perf/x86: Enable post-processing monotonic raw conversion
Date
Kan!

On Mon, Feb 13 2023 at 11:07, kan liang wrote:
> From: Kan Liang <kan.liang@linux.intel.com>
> + } else if (perf_event_hw_time(event)) {
> + struct ktime_conv mono;
> +
> + userpg->cap_user_time_mono_raw = 1;
> + ktime_get_fast_mono_raw_conv(&mono);

What guarantees that the clocksource used by the timekeeping core is
actually TSC? Nothing at all. You cannot make assumptions here.

Thanks,

tglx

\
 
 \ /
  Last update: 2023-03-27 00:23    [W:0.181 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site