Re: [PATCH] x86/tsc: remove the unused check_tsc_disabled()

From: Ingo Molnar
Date: Fri Jul 15 2016 - 04:34:40 EST



* Wei Jiangang <weijg.fnst@xxxxxxxxxxxxxx> wrote:

> check_tsc_disabled() was introduced by commit c73deb6aecda ("perf/x86:
> Add ability to calculate TSC from perf sample timestamps").
> The only caller arch_perf_update_userpage() had been refactored
> by commit fa9cbf320e99 ("perf/x86: Move perf_event.c ...............
> => x86/events/core.c").
> so no need keep and export it any more.

No, it wasn't refactored by fa9cbf320e99, but by:

d8b11a0cbd1c perf/x86: Clean up cap_user_time* setting

I've fixed the changelog.

Thanks,

Ingo