Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759732Ab3DIFDF (ORCPT ); Tue, 9 Apr 2013 01:03:05 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:60646 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750713Ab3DIFDD (ORCPT ); Tue, 9 Apr 2013 01:03:03 -0400 Date: Tue, 9 Apr 2013 07:02:50 +0200 From: Richard Cochran To: John Stultz Cc: Pawel Moll , Peter Zijlstra , Stephane Eranian , David Ahern , Thomas Gleixner , LKML , "mingo@elte.hu" , Paul Mackerras , Anton Blanchard , Will Deacon , "ak@linux.intel.com" , Pekka Enberg , Steven Rostedt , Robert Richter Subject: Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples Message-ID: <20130409050250.GA2499@netboy> References: <515B0502.8070408@linaro.org> <1365009558.26858.19.camel@hornet> <515C66FE.7030501@linaro.org> <1365010502.26858.32.camel@hornet> <515C6C01.9070905@linaro.org> <1365092963.26858.107.camel@hornet> <1365185813.25942.12.camel@hornet> <20130406110507.GC7572@netboy> <1365443897.24306.12.camel@hornet> <51631510.6080401@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51631510.6080401@linaro.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 18 On Mon, Apr 08, 2013 at 12:05:52PM -0700, John Stultz wrote: > > So thinking this through further, I'm worried we may _not_ be able > to eventually enable this to be a vdso as I had earlier hoped. > Mostly because I'm not sure how the fd -> file -> clock lookup could > be done in userland (any ideas?). How about a new clock operation, clock_install_vdso(), that lets the process arrange for one dynamic clock to be reflected in its vdso page? Thanks, Richard -- 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/