From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753831AbdCPTbf (ORCPT ); Thu, 16 Mar 2017 15:31:35 -0400 Received: from mail.kernel.org ([198.145.29.136]:42256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699AbdCPTbd (ORCPT ); Thu, 16 Mar 2017 15:31:33 -0400 Date: Thu, 16 Mar 2017 16:21:38 -0300 From: Arnaldo Carvalho de Melo To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Adrian Hunter , Jiri Olsa , Namhyung Kim , Wang Nan , Linux Kernel Mailing List Subject: Re: 'perf test tsc' failing, bisected to "sched/clock: Provide better clock continuity" Message-ID: <20170316192138.GA12825@kernel.org> References: <20170316140103.GU12825@kernel.org> <20170316145311.4daeysai4r3vunlv@hirez.programming.kicks-ass.net> <20170316181121.h4oiaewfyexwbdxz@hirez.programming.kicks-ass.net> <20170316183617.GY12825@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170316183617.GY12825@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Mar 16, 2017 at 03:36:17PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Mar 16, 2017 at 07:11:21PM +0100, Peter Zijlstra escreveu: > > On Thu, Mar 16, 2017 at 03:53:11PM +0100, Peter Zijlstra wrote: > > > On Thu, Mar 16, 2017 at 11:01:03AM -0300, Arnaldo Carvalho de Melo wrote: > > > > [root@jouet ~]# perf test -v tsc > > > > 55: Convert perf time to TSC : > > > > Convert perf time to TSC: FAILED! > > > > sched/clock: Provide better clock continuity > > > > Right, ahunter also complained about this. I had a half arsed fugly > > > patch in the works. Let me see if I can improve and finish. > > > The below seems to cure things for me... > > Building... Didn't apply to perf/urgent: [acme@jouet linux]$ patch -p1 < /wb/1.patch patching file arch/x86/events/core.c Hunk #1 succeeded at 2243 (offset -1 lines). Hunk #2 succeeded at 2251 (offset -1 lines). Hunk #3 succeeded at 2265 (offset -1 lines). Hunk #4 succeeded at 2273 (offset -1 lines). patching file arch/x86/include/asm/timer.h patching file arch/x86/kernel/tsc.c Hunk #1 FAILED at 328. Hunk #2 FAILED at 336. 2 out of 2 hunks FAILED -- saving rejects to file arch/x86/kernel/tsc.c.rej can't find file to patch at input line 182 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- a/include/linux/sched/clock.h |+++ b/include/linux/sched/clock.h -------------------------- File to patch: ^C [acme@jouet linux]$ [acme@jouet linux]$ Trying with perf/core...