Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753052AbbBSSBv (ORCPT ); Thu, 19 Feb 2015 13:01:51 -0500 Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:44182 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbbBSSBu (ORCPT ); Thu, 19 Feb 2015 13:01:50 -0500 Message-ID: <1424368901.16038.15.camel@arm.com> Subject: Re: [PATCH 0/2] perf/x86: Add ability to sample TSC From: Pawel Moll To: John Stultz Cc: Adrian Hunter , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , lkml , David Ahern , Frederic Weisbecker , Jiri Olsa , Namhyung Kim , Paul Mackerras , Stephane Eranian , Thomas Gleixner , Steven Rostedt , Andi Kleen , Mathieu Poirier Date: Thu, 19 Feb 2015 18:01:41 +0000 In-Reply-To: <1424368719.16038.13.camel@arm.com> References: <1424347870-8492-1-git-send-email-adrian.hunter@intel.com> <54E61FFF.2010201@intel.com> <1424368719.16038.13.camel@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.7-0ubuntu1 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: 809 Lines: 19 On Thu, 2015-02-19 at 17:58 +0000, Pawel Moll wrote: > and what Adrian did, explicitly > defining possible timestamps at perf_event_attr level instead of > relating them to to posix clock ids is the way to go. No strong opinion > here. One note here: I'd rather make it "processor trace clock", rather than "architecturally defined" one. That way you relate it directly to the time domain and allow userspace decoder to as for it in a architecturally independent way (yes, I'm assuming that there will be only one "type of processor trace in a system :-) Pawel -- 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/