Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932131Ab3DBHyp (ORCPT ); Tue, 2 Apr 2013 03:54:45 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:39752 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759947Ab3DBHyn (ORCPT ); Tue, 2 Apr 2013 03:54:43 -0400 Message-ID: <1364889256.16858.1.camel@laptop> Subject: Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples From: Peter Zijlstra To: John Stultz Cc: David Ahern , Pawel Moll , Stephane Eranian , Thomas Gleixner , LKML , "mingo@elte.hu" , Paul Mackerras , Anton Blanchard , Will Deacon , "ak@linux.intel.com" , Pekka Enberg , Steven Rostedt , Robert Richter Date: Tue, 02 Apr 2013 09:54:16 +0200 In-Reply-To: <5159D221.70304@linaro.org> References: <1350408232.2336.42.camel@laptop> <1359728280.8360.15.camel@hornet> <51118797.9080800@linaro.org> <5123C3AF.8060100@linaro.org> <1361356160.10155.22.camel@laptop> <51285BF1.2090208@linaro.org> <1361801441.4007.40.camel@laptop> <1363291021.3100.144.camel@hornet> <51586315.7080006@gmail.com> <5159D221.70304@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 16 On Mon, 2013-04-01 at 11:29 -0700, John Stultz wrote: > I'm still not sold on the CLOCK_PERF posix clock. The semantics are > still too hand-wavy and implementation specific. How about we define the semantics as: match whatever comes out of perf (and preferably ftrace by default) stuff? Since that stuff is already exposed to userspace, doesn't it make sense to have a user accessible time source that generates the same time-line so that people can create logs that can be properly interleaved? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/